org.apache.ws.security
Class WSDerivedKeyTokenPrincipal

java.lang.Object
  extended by org.apache.ws.security.WSDerivedKeyTokenPrincipal
All Implemented Interfaces:
Principal

public class WSDerivedKeyTokenPrincipal
extends Object
implements Principal

This class implements the Principal interface and represents a DerivedKeyToken. The principal's name will be the wsu:Id value of the DerivedKeyToken

Author:
Ruchith Fernando (ruchith.fernando@gmail.com)

Constructor Summary
WSDerivedKeyTokenPrincipal(String id)
           
 
Method Summary
 String getBasetokenId()
           
 String getLabel()
           
 int getLength()
           
 String getName()
           
 String getNonce()
           
 int getOffset()
           
 byte[] getSecret()
           
 void setBasetokenId(String basetokenId)
           
 void setLabel(String label)
           
 void setLength(int length)
           
 void setNonce(String nonce)
           
 void setOffset(int offset)
           
 void setSecret(byte[] secret)
           
 
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

WSDerivedKeyTokenPrincipal

public WSDerivedKeyTokenPrincipal(String id)
Method Detail

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

getSecret

public byte[] getSecret()

setSecret

public void setSecret(byte[] secret)

getLength

public int getLength()

setLength

public void setLength(int length)

getOffset

public int getOffset()

setOffset

public void setOffset(int offset)

getNonce

public String getNonce()

getName

public String getName()
Specified by:
getName in interface Principal

setNonce

public void setNonce(String nonce)

getBasetokenId

public String getBasetokenId()

setBasetokenId

public void setBasetokenId(String basetokenId)


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