public abstract class AbstractX509IdentityValidator<T> extends AbstractIdentityValidator<T>
| Constructor and Description |
|---|
AbstractX509IdentityValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
authenticateIdentityCertificate(Session session,
X509Certificate identityCertificate)
Create and return an identity object for the user identified by
identityCertificate. |
protected T |
validateX509Token(Session session,
X509IdentityToken token,
UserTokenPolicy tokenPolicy,
SignatureData tokenSignature)
Validate an
X509IdentityToken and return an identity Object that represents the user. |
decryptTokenData, validateAnonymousToken, validateIdentityToken, validateIssuedIdentityToken, validateUsernameTokenprotected T validateX509Token(Session session, X509IdentityToken token, UserTokenPolicy tokenPolicy, SignatureData tokenSignature) throws UaException
AbstractIdentityValidatorX509IdentityToken and return an identity Object that represents the user.
This Object should implement equality in such a way that a subsequent identity validation for the same user yields a comparable Object.
validateX509Token in class AbstractIdentityValidator<T>session - the Session the request is arriving on.token - the X509IdentityToken.tokenPolicy - the UserTokenPolicy specified by the policyId in token.tokenSignature - the SignatureData sent in the ActivateSessionRequest.UaException - if the token is invalid, rejected, or user access is denied.@Nullable protected abstract T authenticateIdentityCertificate(Session session, X509Certificate identityCertificate)
identityCertificate.
Possession of the private key associated with this certificate has been verified prior to this call.
session - the Session being activated.identityCertificate - the X509Certificate identifying the user.T if the authentication succeeded, or null if it failed.Copyright © 2021. All rights reserved.