...
Property | Default value | Description |
---|---|---|
bankid.se.url | URL for the BankID Servers | |
bankid.se.keystore.provider | BC | Name of JCE provider to use when loading SSL client certificate keystore |
bankid.se.keystore.type | PKCS12 | Keystore type, usually PKCS12, JKS or luna |
bankid.se.keystore.file | Name of keystore file | |
bankid.se.keystore.password | Password to keystore, can optionally be encrypted/obfuscated - see Encrypting or Obfuscating Passwords | |
bankid.se.keystore.privkeyalias | Alias of private key to use - if not specified, first key in the keystore is used | |
bankid.se.keystore.certalias | Certificate Alias | |
bankid.se.sslprovidername | Name of SSL provider if the default in the JVM should not be used | |
bankid.se.ssl.protocol | TLSv1.2 | SSL protocol to use |
bankid.se.ssl.verifycert | true | Set to false to disable SSL server certificate |
bankid.se.ssl.verifyhostname | true | Set to false to disable verification that hostname matches certificate |
bankid.se.acceptedsslcerts | List of trusted SSL server signing certificates | |
bankid.se.ignoreipaddress | false | If set to true, clients IP address is not send to BankID - in test, we have seen BankID return an |
http.proxyHost | Proxy host to use when sending requests | |
http.proxyPort | Proxy port to use when sending requests | |
http.proxyUser http.proxyPassword | If proxy is used, optional userid and password for it | |
http.noProxyFor | Hostnames or IPs matching this pattern will bypass the proxy |
Integrating with GUI
When calling the Agent.logon() method, it will initially fail with errorcodeĀ AuthErrorCodes.ERROR_NOT_YET_COMPLETEDĀ
to check if authentication succeeds, we should continually call login (with a delay of at least 2 seconds between calls) until it succeeds or fails with a different error.
...