public class SamlIdVaultTokenHandler extends java.lang.Object implements com.hcl.domino.admin.idvault.IdVaultTokenHandler<SamlToken>
This class is registered in META-INF/services/com.hcl.domino.admin.idvault.IdVaultTokenHandler It will handle Keep SAML tokens containing info for performing a SAML dance with Domino core, and returning a Keep/jnx UserId instance that wraps a Domino KFHANDLE pointer JNX handles invocation lifecycle for the tokens
Constructor and Description |
---|
SamlIdVaultTokenHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProcess(java.lang.Object token)
We only handle our own tokens
|
java.util.Optional<com.hcl.domino.admin.idvault.UserId> |
getUserId(SamlToken token,
java.lang.String serverName,
com.hcl.domino.admin.idvault.IdVault contextIdVault)
Given a token containing what we need to do the SAML dance, use it to extract a user id from a Domino idvault.
|
public boolean canProcess(java.lang.Object token)
We only handle our own tokens
canProcess
in interface com.hcl.domino.security.UserTokenHandler<SamlToken>
public java.util.Optional<com.hcl.domino.admin.idvault.UserId> getUserId(SamlToken token, java.lang.String serverName, com.hcl.domino.admin.idvault.IdVault contextIdVault)
Given a token containing what we need to do the SAML dance, use it to extract a user id from a Domino idvault.
getUserId
in interface com.hcl.domino.admin.idvault.IdVaultTokenHandler<SamlToken>
token
- the data we needserverName
- ignoredcontextIdVault
- an idvault instance, ignored