Skip to content

Commit

Permalink
reverted KBA to KBI changes
Browse files Browse the repository at this point in the history
Signed-off-by: Balaji <[email protected]>
  • Loading branch information
balaji-alluru committed Jun 28, 2024
1 parent a10b13c commit ba53626
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion amr-acr-mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"OTP" : [{ "type": "OTP" }],
"Wallet" : [{ "type": "WLA" }],
"L1-bio-device" : [{ "type": "BIO", "count": 1 }],
"Knowledge" : [{"type":"kbi"}]
"Knowledge" : [{"type":"KBA"}]
},
"acr_amr" : {
"mosip:idp:acr:password" : ["PWD"],
Expand Down
22 changes: 11 additions & 11 deletions esignet-default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ mosip.esignet.auth-challenge.WLA.format=jwt
mosip.esignet.auth-challenge.WLA.min-length=100
mosip.esignet.auth-challenge.WLA.max-length=800

mosip.esignet.auth-challenge.KBI.format=base64url-encoded-json
mosip.esignet.auth-challenge.KBI.min-length=50
mosip.esignet.auth-challenge.KBI.max-length=500
mosip.esignet.auth-challenge.KBA.format=base64url-encoded-json
mosip.esignet.auth-challenge.KBA.min-length=50
mosip.esignet.auth-challenge.KBA.max-length=500

mosip.esignet.auth-challenge.PIN.format=number
mosip.esignet.auth-challenge.PIN.min-length=4
Expand Down Expand Up @@ -411,8 +411,8 @@ mosip.kernel.keymgr.hsm.health.check.encrypt=true
mosip.esignet.ui.wallet.config={{'wallet.name': 'walletName', 'wallet.logo-url': '/images/qr_code.png', 'wallet.download-uri': '#', \
'wallet.deep-link-uri': 'inji://landing-page-name?linkCode=LINK_CODE&linkExpireDateTime=LINK_EXPIRE_DT' }}

mosip.esignet.authenticator.default.auth-factor.kbi.field-details=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.field-details}
mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.individual-id-field}
mosip.esignet.authenticator.default.auth-factor.kba.field-details=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.field-details}
mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.individual-id-field}

mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', \
'sbi.timeout.DISC': 30, \
Expand All @@ -439,8 +439,8 @@ mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', \
'otp.length': 6, \
'password.regex': '\\S*', \
'wallet.config': ${mosip.esignet.ui.wallet.config},\
'auth.factor.kbi.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field}',\
'auth.factor.kbi.field-details':${mosip.esignet.authenticator.default.auth-factor.kbi.field-details}}
'auth.factor.kba.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field}',\
'auth.factor.kba.field-details':${mosip.esignet.authenticator.default.auth-factor.kba.field-details}}

## ---------------------------------------------- VCI ------------------------------------------------------------------
# Used to verify audience in the PoP JWT
Expand Down Expand Up @@ -534,10 +534,10 @@ logging.level.io.mosip.esignet=DEBUG

##---------------------------------Sunbird-RC Plugin Configurations------------------------------------------------------

mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.individual-id-field=policyNumber
mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.field-details={{"id":"policyNumber", "type":"text", "format":"", "maxLength": 50, "regex": "^\\s*[+-]?(\\d+|\\d*\\.\\d+|\\d+\\.\\d*)([Ee][+-]?\\d*)?\\s*$"},{"id":"fullName", "type":"text", "format":"", "maxLength": 50, "regex": "^[A-Za-z\\s]{1,}[\\.]{0,1}[A-Za-z\\s]{0,}$"},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.registry-search-url=http://10.3.148.107/registry/api/v1/Insurance/search
mosip.esignet.authenticator.sunbird-rc.kbi.entity-id-field=osid
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.individual-id-field=policyNumber
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.field-details={{"id":"policyNumber", "type":"text", "format":"", "maxLength": 50, "regex": "^\\s*[+-]?(\\d+|\\d*\\.\\d+|\\d+\\.\\d*)([Ee][+-]?\\d*)?\\s*$"},{"id":"fullName", "type":"text", "format":"", "maxLength": 50, "regex": "^[A-Za-z\\s]{1,}[\\.]{0,1}[A-Za-z\\s]{0,}$"},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.registry-search-url=http://10.3.148.107/registry/api/v1/Insurance/search
mosip.esignet.authenticator.sunbird-rc.kba.entity-id-field=osid

mosip.esignet.vciplugin.sunbird-rc.issue-credential-url=http://10.3.148.107/credential/credentials/issue
mosip.esignet.vciplugin.sunbird-rc.supported-credential-types=InsuranceCredential
Expand Down
8 changes: 4 additions & 4 deletions esignet-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -356,17 +356,17 @@ crypto.PrependThumbprint.enable=true

## -------------------------------------------- IDP-UI config ----------------------------------------------------------

mosip.esignet.authenticator.default.auth-factor.kbi.field-details={{'id':'policyNumber', 'type':'text', 'format':''},{'id':'name', 'type':'text', 'format':''},{'id':'dob', 'type':'date', 'format':'dd/mm/yyyy'}}
mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field='policyNumber'
mosip.esignet.authenticator.default.auth-factor.kba.field-details={{'id':'policyNumber', 'type':'text', 'format':''},{'id':'name', 'type':'text', 'format':''},{'id':'dob', 'type':'date', 'format':'dd/mm/yyyy'}}
mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field='policyNumber'

mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', 'sbi.timeout.DISC': 30, \
'sbi.timeout.DINFO': 30, 'sbi.timeout.CAPTURE': 30, 'sbi.capture.count.face': 1, 'sbi.capture.count.finger': 1, \
'sbi.capture.count.iris': 1, 'sbi.capture.score.face': 70, 'sbi.capture.score.finger':70, 'sbi.capture.score.iris':70, \
'resend.otp.delay.secs': ${mosip.kernel.otp.expiry-time}, \
'send.otp.channels' : '${mosip.esignet.authenticator.ida.otp-channels}', 'captcha.sitekey' : '${mosip.esignet.captcha-validator.site-key}', \
'auth.txnid.length' : '${mosip.esignet.auth-txn-id-length}', \
'auth.factor.kbi.individual-id-field' : ${mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field},\
'auth.factor.kbi.field-details':${mosip.esignet.authenticator.default.auth-factor.kbi.field-details}}
'auth.factor.kba.individual-id-field' : ${mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field},\
'auth.factor.kba.field-details':${mosip.esignet.authenticator.default.auth-factor.kba.field-details}}


logging.level.org.springframework.web.client.RestTemplate=DEBUG
Expand Down
18 changes: 9 additions & 9 deletions esignet-injiweb.properties
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ mosip.esignet.credential.scope-resource-mapping={'mock_identity_vc_ldp' : '${mos
mosip.esignet.supported.response.types={'code'}

## supported format for auth factor type
mosip.esignet.supported-formats={'OTP': 'alpha-numeric', 'PWD': 'alpha-numeric', 'BIO': 'encoded-json', 'WLA': 'jwt', 'PIN': 'number', 'kbi': 'base64url-encoded-json'}
mosip.esignet.supported-formats={'OTP': 'alpha-numeric', 'PWD': 'alpha-numeric', 'BIO': 'encoded-json', 'WLA': 'jwt', 'PIN': 'number', 'KBA': 'base64url-encoded-json'}

## Form of Authorization Grant presented to token endpoint
mosip.esignet.supported.grant.types={'authorization_code'}
Expand Down Expand Up @@ -378,8 +378,8 @@ mosip.esignet.ui.wallet.config={{'wallet.name': 'Inji Mobile App', 'wallet.logo-
'wallet.deep-link-uri': 'inji://landing-page-name?linkCode=LINK_CODE&linkExpireDateTime=LINK_EXPIRE_DT' },{'wallet.name': 'Inji Mobile App1', 'wallet.logo-url': 'inji_logo.png', 'wallet.download-uri': '#', \
'wallet.deep-link-uri': 'inji://landing-page-name?linkCode=LINK_CODE&linkExpireDateTime=LINK_EXPIRE_DT' }}

mosip.esignet.authenticator.default.auth-factor.kbi.field-details=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.field-details}
mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.individual-id-field}
mosip.esignet.authenticator.default.auth-factor.kba.field-details=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.field-details}
mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.individual-id-field}

mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', 'sbi.timeout.DISC': 30, \
'sbi.timeout.DINFO': 30, 'sbi.timeout.CAPTURE': 30, 'sbi.capture.count.face': 1, 'sbi.capture.count.finger': 1, \
Expand All @@ -389,8 +389,8 @@ mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', 'sbi.timeout.DISC':
'auth.txnid.length' : '${mosip.esignet.auth-txn-id-length}', 'consent.screen.timeout-in-secs':${mosip.esignet.authentication-expire-in-secs}, \
'consent.screen.timeout-buffer-in-secs': 5, 'linked-transaction-expire-in-secs': 240, 'sbi.port.range': 4501-4600, \
'sbi.bio.subtypes.iris': 'UNKNOWN', 'sbi.bio.subtypes.finger': 'UNKNOWN', 'wallet.qr-code-buffer-in-secs': 10, 'otp.length': 6, \
'password.regex': '\\S*', 'wallet.config': ${mosip.esignet.ui.wallet.config},'auth.factor.kbi.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field}',\
'auth.factor.kbi.field-details':${mosip.esignet.authenticator.default.auth-factor.kbi.field-details} }
'password.regex': '\\S*', 'wallet.config': ${mosip.esignet.ui.wallet.config},'auth.factor.kba.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field}',\
'auth.factor.kba.field-details':${mosip.esignet.authenticator.default.auth-factor.kba.field-details} }

## ---------------------------------------------- VCI ------------------------------------------------------------------
# Used to verify audience in the PoP JWT
Expand Down Expand Up @@ -520,10 +520,10 @@ logging.level.io.mosip.esignet=DEBUG

##---------------------------------Sunbird-RC Plugin Configurations------------------------------------------------------

mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.individual-id-field=policyNumber
mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.field-details={{"id":"policyNumber", "type":"text", "format":""},{"id":"fullName", "type":"text", "format":""},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.registry-search-url=http://10.3.148.107/registry/api/v1/Insurance/search
mosip.esignet.authenticator.sunbird-rc.kbi.entity-id-field=osid
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.individual-id-field=policyNumber
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.field-details={{"id":"policyNumber", "type":"text", "format":""},{"id":"fullName", "type":"text", "format":""},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.registry-search-url=http://10.3.148.107/registry/api/v1/Insurance/search
mosip.esignet.authenticator.sunbird-rc.kba.entity-id-field=osid

mosip.esignet.vciplugin.sunbird-rc.enable-psut-based-registry-search=false
mosip.esignet.vciplugin.sunbird-rc.issue-credential-url=http://10.3.148.107/credential/credentials/issue
Expand Down
26 changes: 13 additions & 13 deletions esignet-insurance.properties
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ mosip.esignet.auth-challenge.WLA.format=jwt
mosip.esignet.auth-challenge.WLA.min-length=100
mosip.esignet.auth-challenge.WLA.max-length=1500

mosip.esignet.auth-challenge.kbi.format=base64url-encoded-json
mosip.esignet.auth-challenge.kbi.min-length=50
mosip.esignet.auth-challenge.kbi.max-length=500
mosip.esignet.auth-challenge.KBA.format=base64url-encoded-json
mosip.esignet.auth-challenge.KBA.min-length=50
mosip.esignet.auth-challenge.KBA.max-length=500

mosip.esignet.auth-challenge.PIN.format=number
mosip.esignet.auth-challenge.PIN.min-length=4
Expand Down Expand Up @@ -407,8 +407,8 @@ mosip.kernel.keymgr.hsm.health.check.encrypt=true
mosip.esignet.ui.wallet.config={{'wallet.name': 'Inji Mobile App', 'wallet.logo-url': 'inji_logo.png', 'wallet.download-uri': '#', \
'wallet.deep-link-uri': 'inji://landing-page-name?linkCode=LINK_CODE&linkExpireDateTime=LINK_EXPIRE_DT' }}

mosip.esignet.authenticator.default.auth-factor.kbi.field-details=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.field-details}
mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.individual-id-field}
mosip.esignet.authenticator.default.auth-factor.kba.field-details=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.field-details}
mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field=${mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.individual-id-field}

mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', 'sbi.timeout.DISC': 30, \
'sbi.timeout.DINFO': 30, 'sbi.timeout.CAPTURE': 30, 'sbi.capture.count.face': 1, 'sbi.capture.count.finger': 1, \
Expand All @@ -418,11 +418,11 @@ mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', 'sbi.timeout.DISC':
'auth.txnid.length' : '${mosip.esignet.auth-txn-id-length}', 'consent.screen.timeout-in-secs':${mosip.esignet.authentication-expire-in-secs}, \
'consent.screen.timeout-buffer-in-secs': 5, 'linked-transaction-expire-in-secs': 240, 'sbi.port.range': 4501-4600, \
'sbi.bio.subtypes.iris': 'UNKNOWN', 'sbi.bio.subtypes.finger': 'UNKNOWN', 'wallet.qr-code-buffer-in-secs': 10, 'otp.length': 6, \
'password.regex': '\\S*', 'wallet.config': ${mosip.esignet.ui.wallet.config},'auth.factor.kbi.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field}',\
'auth.factor.kbi.field-details':${mosip.esignet.authenticator.default.auth-factor.kbi.field-details} }
'password.regex': '\\S*', 'wallet.config': ${mosip.esignet.ui.wallet.config},'auth.factor.kba.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field}',\
'auth.factor.kba.field-details':${mosip.esignet.authenticator.default.auth-factor.kba.field-details} }

mosip.esignet.authenticator.default.auth-factor.kbi.field-details={{'id':'policyNumber', 'type':'text', 'format':'', 'maxLength': 50, 'regex': '^\\s*[+-]?(\\d+|\\d*\\.\\d+|\\d+\\.\\d*)([Ee][+-]?\\d*)?\\s*$'},{'id':'fullName', 'type':'text', 'format':'', 'maxLength': 50, 'regex': '\\S*'},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field=policyNumber
mosip.esignet.authenticator.default.auth-factor.kba.field-details={{'id':'policyNumber', 'type':'text', 'format':'', 'maxLength': 50, 'regex': '^\\s*[+-]?(\\d+|\\d*\\.\\d+|\\d+\\.\\d*)([Ee][+-]?\\d*)?\\s*$'},{'id':'fullName', 'type':'text', 'format':'', 'maxLength': 50, 'regex': '\\S*'},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field=policyNumber

## ---------------------------------------------- VCI ------------------------------------------------------------------
# Used to verify audience in the PoP JWT
Expand Down Expand Up @@ -634,10 +634,10 @@ logging.level.io.mosip.esignet=DEBUG

##---------------------------------Sunbird-RC Plugin Configurations------------------------------------------------------

mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.individual-id-field=policyNumber
mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.field-details={{"id":"policyNumber", "type":"text", "format":""},{"id":"fullName", "type":"text", "format":""},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.sunbird-rc.auth-factor.kbi.registry-search-url=http://10.3.148.107/registry/api/v1/Insurance/search
mosip.esignet.authenticator.sunbird-rc.kbi.entity-id-field=osid
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.individual-id-field=policyNumber
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.field-details={{"id":"policyNumber", "type":"text", "format":""},{"id":"fullName", "type":"text", "format":""},{"id":"dob", "type":"date", "format":"dd/mm/yyyy"}}
mosip.esignet.authenticator.sunbird-rc.auth-factor.kba.registry-search-url=http://10.3.148.107/registry/api/v1/Insurance/search
mosip.esignet.authenticator.sunbird-rc.kba.entity-id-field=osid

mosip.esignet.vciplugin.sunbird-rc.enable-psut-based-registry-search=false
mosip.esignet.vciplugin.sunbird-rc.credential-type.InsuranceCredential.registry-search-url=http://10.3.148.107/registry/api/v1/Insurance/search
Expand Down
4 changes: 2 additions & 2 deletions esignet-mock.properties
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,8 @@ mosip.esignet.ui.config.key-values={'sbi.env': 'Developer', 'sbi.timeout.DISC':
'auth.txnid.length' : '${mosip.esignet.auth-txn-id-length}', 'consent.screen.timeout-in-secs':${mosip.esignet.authentication-expire-in-secs}, \
'consent.screen.timeout-buffer-in-secs': 5, 'linked-transaction-expire-in-secs': 240, 'sbi.port.range': 4501-4600, \
'sbi.bio.subtypes.iris': 'UNKNOWN', 'sbi.bio.subtypes.finger': 'UNKNOWN', 'wallet.qr-code-buffer-in-secs': 10, 'otp.length': 6, \
'password.regex': '\\S*', 'wallet.config': ${mosip.esignet.ui.wallet.config},'auth.factor.kbi.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kbi.individual-id-field}',\
'auth.factor.kbi.field-details':${mosip.esignet.authenticator.default.auth-factor.kbi.field-details} }
'password.regex': '\\S*', 'wallet.config': ${mosip.esignet.ui.wallet.config},'auth.factor.kba.individual-id-field' : '${mosip.esignet.authenticator.default.auth-factor.kba.individual-id-field}',\
'auth.factor.kba.field-details':${mosip.esignet.authenticator.default.auth-factor.kba.field-details} }

## ---------------------------------------------- VCI ------------------------------------------------------------------
# Used to verify audience in the PoP JWT
Expand Down
Loading

0 comments on commit ba53626

Please sign in to comment.