Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PropertyDefault valueDescription
bankid.se.url
URL for the BankID Servers
bankid.se.keystore.providerBCName of JCE provider to use when loading SSL client certificate keystore
bankid.se.keystore.typePKCS12Keystore 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.protocolTLSv1.2SSL protocol to use
bankid.se.ssl.verifycerttrueSet to false to disable SSL server certificate
bankid.se.ssl.verifyhostnametrueSet to false to disable verification that hostname matches certificate
bankid.se.acceptedsslcerts
List of trusted SSL server signing certificates
bankid.se.ignoreipaddressfalseIf 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.

...