public class AnonymousIdentityValidator extends IdentityValidator
| Modifier and Type | Field and Description |
|---|---|
static Object |
ANONYMOUS_IDENTITY_OBJECT |
| Constructor and Description |
|---|
AnonymousIdentityValidator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
validateAnonymousToken(com.digitalpetri.opcua.stack.core.types.structured.AnonymousIdentityToken token,
com.digitalpetri.opcua.stack.core.types.structured.UserTokenPolicy tokenPolicy,
com.digitalpetri.opcua.stack.core.channel.SecureChannel channel,
Session session)
Validate an
AnonymousIdentityToken and return an identity Object that represents the user. |
decryptTokenData, validateIssuedIdentityToken, validateUsernameToken, validateX509Tokenpublic static final Object ANONYMOUS_IDENTITY_OBJECT
public Object validateAnonymousToken(com.digitalpetri.opcua.stack.core.types.structured.AnonymousIdentityToken token, com.digitalpetri.opcua.stack.core.types.structured.UserTokenPolicy tokenPolicy, com.digitalpetri.opcua.stack.core.channel.SecureChannel channel, Session session) throws com.digitalpetri.opcua.stack.core.UaException
IdentityValidatorAnonymousIdentityToken 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.
validateAnonymousToken in class IdentityValidatortoken - the AnonymousIdentityToken.tokenPolicy - the UserTokenPolicy specified by the policyId in token.channel - the SecureChannel the request is arriving on.session - the Session the request is arriving on.com.digitalpetri.opcua.stack.core.UaException - if the token is invalid, rejected, or user access is denied.Copyright © 2015. All rights reserved.