public class CompositeValidator<T> extends Object implements IdentityValidator<T>
IdentityValidator that tries its component IdentityValidators in the order provided.| Constructor and Description |
|---|
CompositeValidator(IdentityValidator<T>... validators) |
CompositeValidator(List<IdentityValidator<T>> validators) |
| Modifier and Type | Method and Description |
|---|---|
T |
validateIdentityToken(Session session,
UserIdentityToken token,
UserTokenPolicy tokenPolicy,
SignatureData tokenSignature)
Validate the provided
UserIdentityToken and return an identity Object that represents the user. |
public CompositeValidator(IdentityValidator<T>... validators)
public CompositeValidator(List<IdentityValidator<T>> validators)
public T validateIdentityToken(Session session, UserIdentityToken token, UserTokenPolicy tokenPolicy, SignatureData tokenSignature) throws UaException
IdentityValidatorUserIdentityToken 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.
validateIdentityToken in interface IdentityValidator<T>session - the Session the request is arriving on.token - the UserIdentityToken.tokenPolicy - the UserTokenPolicy specified by the policyId in token.tokenSignature - the SignatureData sent in the ActivateSessionRequestT that represents the authenticated user.UaException - if the token is invalid, rejected, or user access is denied.Copyright © 2021. All rights reserved.