public class X509IdentityValidator extends AbstractIdentityValidator
| Constructor and Description |
|---|
X509IdentityValidator(Predicate<X509Certificate> predicate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
validateX509Token(ServerSecureChannel channel,
Session session,
X509IdentityToken token,
UserTokenPolicy tokenPolicy,
SignatureData tokenSignature)
Validate an
X509IdentityToken and return an identity Object that represents the user. |
decryptTokenData, validateAnonymousToken, validateIdentityToken, validateIssuedIdentityToken, validateUsernameTokenpublic X509IdentityValidator(Predicate<X509Certificate> predicate)
public Object validateX509Token(ServerSecureChannel channel, 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 AbstractIdentityValidatorchannel - the ServerSecureChannel the request is arriving on.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.Copyright © 2018. All rights reserved.