public class CompositeValidator extends Object implements IdentityValidator
IdentityValidator that tries its component IdentityValidators in the order provided.| Constructor and Description |
|---|
CompositeValidator(IdentityValidator... validators) |
CompositeValidator(List<IdentityValidator> validators) |
| Modifier and Type | Method and Description |
|---|---|
Object |
validateIdentityToken(ServerSecureChannel channel,
Session session,
UserIdentityToken token,
UserTokenPolicy tokenPolicy,
SignatureData tokenSignature)
Validate the provided
UserIdentityToken and return an identity Object that represents the user. |
public CompositeValidator(IdentityValidator... validators)
public CompositeValidator(List<IdentityValidator> validators)
public Object validateIdentityToken(ServerSecureChannel channel, 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 IdentityValidatorchannel - the ServerSecureChannel the request is arriving on.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 ActivateSessionRequestUaException - if the token is invalid, rejected, or user access is denied.Copyright © 2018. All rights reserved.