com.prosysopc.ua.server
Class ServerUserIdentity

java.lang.Object
  extended by com.prosysopc.ua.SecureIdentity
      extended by com.prosysopc.ua.UserIdentity
          extended by com.prosysopc.ua.server.ServerUserIdentity

public class ServerUserIdentity
extends UserIdentity


Field Summary
 
Fields inherited from class com.prosysopc.ua.UserIdentity
encryptedPassword, issuedIdentityToken, name, policyMap, type
 
Fields inherited from class com.prosysopc.ua.SecureIdentity
certificate, privateKey
 
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.
 
Method Summary
 boolean equals(Object obj)
           
 org.opcfoundation.ua.core.UserIdentityToken getToken()
           
 int hashCode()
           
 
Methods inherited from class com.prosysopc.ua.UserIdentity
decryptPassword, equals, getEncryptedPassword, getIssuedIdentityToken, getName, getPassword, getType, getUserTokenPolicy, toString
 
Methods inherited from class com.prosysopc.ua.SecureIdentity
decrypt, decrypt, encrypt, getCertificate, getKeys, getPrivateKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 - TODO
endpoint -
Throws:
SecureIdentityException
Method Detail

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.