org.apache.ws.security
Class WSDerivedKeyTokenPrincipal
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDerivedKeyTokenPrincipal
public WSDerivedKeyTokenPrincipal(String id)
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.