public class AnonymousProvider extends Object implements IdentityProvider
IdentityProvider that will choose the first available anonymous UserTokenPolicy.| Modifier and Type | Field and Description |
|---|---|
static IdentityProvider |
INSTANCE |
| Constructor and Description |
|---|
AnonymousProvider() |
| Modifier and Type | Method and Description |
|---|---|
SignedIdentityToken |
getIdentityToken(org.eclipse.milo.opcua.stack.core.types.structured.EndpointDescription endpoint,
org.eclipse.milo.opcua.stack.core.types.builtin.ByteString serverNonce)
Return the
UserIdentityToken and SignatureData (if applicable for the token) to use when
activating a session. |
String |
toString() |
public static final IdentityProvider INSTANCE
public SignedIdentityToken getIdentityToken(org.eclipse.milo.opcua.stack.core.types.structured.EndpointDescription endpoint, org.eclipse.milo.opcua.stack.core.types.builtin.ByteString serverNonce) throws Exception
IdentityProviderUserIdentityToken and SignatureData (if applicable for the token) to use when
activating a session.getIdentityToken in interface IdentityProviderendpoint - the EndpointDescription being connected to.SignedIdentityToken containing the UserIdentityToken and SignatureData.ExceptionCopyright © 2021. All rights reserved.