com.prosysopc.ua.server
Class ServerUserIdentity
java.lang.Object
com.prosysopc.ua.SecureIdentity
com.prosysopc.ua.UserIdentity
com.prosysopc.ua.server.ServerUserIdentity
public class ServerUserIdentity
- extends UserIdentity
|
Constructor Summary |
ServerUserIdentity(SessionManager sessionManager,
org.opcfoundation.ua.core.UserIdentityToken userIdentityToken,
org.opcfoundation.ua.core.SignatureData userTokenSignature,
ApplicationIdentity serverIdentity,
org.opcfoundation.ua.builtintypes.ByteString serverNonce,
org.opcfoundation.ua.transport.security.SecurityPolicy securityPolicy)
Create a new identity from the user token and server key. |
ServerUserIdentity
public ServerUserIdentity(SessionManager sessionManager,
org.opcfoundation.ua.core.UserIdentityToken userIdentityToken,
org.opcfoundation.ua.core.SignatureData userTokenSignature,
ApplicationIdentity serverIdentity,
org.opcfoundation.ua.builtintypes.ByteString serverNonce,
org.opcfoundation.ua.transport.security.SecurityPolicy securityPolicy)
throws SecureIdentityException
- Create a new identity from the user token and server key. This is used from the server side.
- Parameters:
userIdentityToken - securityPolicy - userTokenSignature - sessionManager - TODOendpoint -
- Throws:
SecureIdentityException
equals
public boolean equals(Object obj)
- Overrides:
equals in class UserIdentity
getToken
public org.opcfoundation.ua.core.UserIdentityToken getToken()
- Returns:
- the token
hashCode
public int hashCode()
- Overrides:
hashCode in class UserIdentity
Copyright © 2018. All rights reserved.