org.apache.ws.security
Class KerberosTokenPrincipal

java.lang.Object
  extended by org.apache.ws.security.CustomTokenPrincipal
      extended by org.apache.ws.security.KerberosTokenPrincipal
All Implemented Interfaces:
Serializable, Principal

public class KerberosTokenPrincipal
extends CustomTokenPrincipal

See Also:
Serialized Form

Constructor Summary
KerberosTokenPrincipal(String name)
           
 
Method Summary
 String getClientPrincipalName()
           
 String getName()
           
 SecretKey getSecretKey()
           
 String getServicePrincipalName()
           
 byte[] getSessionKey()
           
 void setClientPrincipalName(String clientPrincipalName)
           
 void setSecretKey(SecretKey secretKey)
           
 void setServicePrincipalName(String servicePrincipalName)
           
 void setSessionKey(byte[] sessionKey)
           
 
Methods inherited from class org.apache.ws.security.CustomTokenPrincipal
getTokenElement, getTokenObject, setTokenElement, setTokenObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

KerberosTokenPrincipal

public KerberosTokenPrincipal(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal
Overrides:
getName in class CustomTokenPrincipal

getClientPrincipalName

public String getClientPrincipalName()

setClientPrincipalName

public void setClientPrincipalName(String clientPrincipalName)

getServicePrincipalName

public String getServicePrincipalName()

setServicePrincipalName

public void setServicePrincipalName(String servicePrincipalName)

getSecretKey

public SecretKey getSecretKey()

setSecretKey

public void setSecretKey(SecretKey secretKey)

getSessionKey

public byte[] getSessionKey()

setSessionKey

public void setSessionKey(byte[] sessionKey)


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.