org.apache.ws.security
Class WSDerivedKeyTokenPrincipal

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

public class WSDerivedKeyTokenPrincipal
extends java.lang.Object
implements java.security.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 ([email protected])

Constructor Summary
WSDerivedKeyTokenPrincipal(java.lang.String id)
           
 
Method Summary
 java.lang.String getBasetokenId()
           
 java.lang.String getLabel()
           
 int getLength()
           
 java.lang.String getName()
           
 java.lang.String getNonce()
           
 int getOffset()
           
 void setBasetokenId(java.lang.String basetokenId)
           
 void setLabel(java.lang.String label)
           
 void setLength(int length)
           
 void setNonce(java.lang.String nonce)
           
 void setOffset(int offset)
           
 
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(java.lang.String id)
Method Detail

getLabel

public java.lang.String getLabel()

setLabel

public void setLabel(java.lang.String label)

getLength

public int getLength()

setLength

public void setLength(int length)

getOffset

public int getOffset()

setOffset

public void setOffset(int offset)

getNonce

public java.lang.String getNonce()

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

setNonce

public void setNonce(java.lang.String nonce)

getBasetokenId

public java.lang.String getBasetokenId()

setBasetokenId

public void setBasetokenId(java.lang.String basetokenId)


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