public interface KeepSAML
Modifier and Type | Method and Description |
---|---|
void |
freeUserIdHandle(java.lang.String userName)
Deallocate memory for user id file
|
java.lang.String |
getErrorString(short status)
Get the notes error message from a status code
|
com.sun.jna.Pointer |
getKFHandle(java.lang.String idfile)
Given a user id file name, convert to KFHANDLE
|
java.lang.String |
getPrivKey()
return Keep instance private key
|
java.lang.String |
getPubKey()
return Keep instance public key
|
java.lang.String |
getX509Cert() |
java.util.Optional<SamlUserId> |
lookupUserId(java.lang.String dominoName)
Checks for a SamlUserId
|
void |
releaseAllIDs()
Delete all cached id files
|
short |
retrieveUserID(java.lang.String emailName,
java.lang.String dominoName,
java.lang.String jwtClaim)
Retrieve the user id using a SAML dance.
|
void |
setPrivKey(java.lang.String privKey)
store Keep private key
|
void |
setPubKey(java.lang.String pubKey)
store Keep public key
|
void |
setX509Cert(java.lang.String x509Cert)
store Keep public certificate
|
void freeUserIdHandle(java.lang.String userName)
Deallocate memory for user id file
userName
- Domino name in abbreviated formjava.lang.String getErrorString(short status)
Get the notes error message from a status code
status
- error codecom.sun.jna.Pointer getKFHandle(java.lang.String idfile)
Given a user id file name, convert to KFHANDLE
idfile
- file namejava.lang.String getPrivKey()
return Keep instance private key
java.lang.String getPubKey()
return Keep instance public key
java.lang.String getX509Cert()
java.util.Optional<SamlUserId> lookupUserId(java.lang.String dominoName)
Checks for a SamlUserId
dominoName
- void releaseAllIDs()
Delete all cached id files
short retrieveUserID(java.lang.String emailName, java.lang.String dominoName, java.lang.String jwtClaim)
Retrieve the user id using a SAML dance. Info about the user is cached locally
emailName
- User’s public email (e.g. jerrygarcia@prod.hclpnp.com)dominoName
- User’s mapped Domino name (abbreviated or full DN) (e.g. Jerry Garcia/ProjectKeep)jwtClaim
- current JWT Claim, used to compute cache expirationvoid setPrivKey(java.lang.String privKey)
store Keep private key
privKey
- private keyvoid setPubKey(java.lang.String pubKey)
store Keep public key
pubKey
- public keyvoid setX509Cert(java.lang.String x509Cert)
store Keep public certificate
x509Cert
- public certificate