Create Authenticated KMIP Session with User Credentials
When Client Certificate Authentication is disabled for the KMIP protocol at Key Manager, it validates only the CA certificate and authentication is done using the Key Manager's user name and password at the start of each session.
Note
While creating a session object, values specified in the properties file are overridden by values specified programmatically.
To create a session using only the Key Manager user name and password:
Create an KMIPSession
object using the getSession
method and pass the Key Manager's user name and password as parameters.
Code sample
KMIPSession getSession(String username, char[] password);