Class SecurityTokenReferenceImpl
- java.lang.Object
-
- com.sun.xml.ws.security.secext10.SecurityTokenReferenceType
-
- com.sun.xml.ws.security.trust.impl.elements.str.SecurityTokenReferenceImpl
-
- All Implemented Interfaces:
Token,SecurityTokenReference
public class SecurityTokenReferenceImpl extends SecurityTokenReferenceType implements SecurityTokenReference
SecurityTokenReference implementation
-
-
Field Summary
-
Fields inherited from class com.sun.xml.ws.security.secext10.SecurityTokenReferenceType
any, id, usage
-
Fields inherited from interface com.sun.xml.ws.security.trust.elements.str.SecurityTokenReference
KEYIDENTIFIER, REFERENCE, TOKEN_TYPE
-
-
Constructor Summary
Constructors Constructor Description SecurityTokenReferenceImpl(SecurityTokenReferenceType strType)SecurityTokenReferenceImpl(Reference ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferencegetReference()StringgetTokenType()ObjectgetTokenValue()The token ValueStringgetType()The type of the TokenvoidsetReference(Reference ref)voidsetTokenType(String tokenType)-
Methods inherited from class com.sun.xml.ws.security.secext10.SecurityTokenReferenceType
getAny, getId, getOtherAttributes, getUsage, setId
-
-
-
-
Constructor Detail
-
SecurityTokenReferenceImpl
public SecurityTokenReferenceImpl(Reference ref)
-
SecurityTokenReferenceImpl
public SecurityTokenReferenceImpl(SecurityTokenReferenceType strType)
-
-
Method Detail
-
setReference
public final void setReference(Reference ref)
- Specified by:
setReferencein interfaceSecurityTokenReference
-
getReference
public Reference getReference()
- Specified by:
getReferencein interfaceSecurityTokenReference
-
setTokenType
public void setTokenType(String tokenType)
- Specified by:
setTokenTypein interfaceSecurityTokenReference
-
getTokenType
public String getTokenType()
- Specified by:
getTokenTypein interfaceSecurityTokenReference
-
getTokenValue
public Object getTokenValue()
Description copied from interface:TokenThe token Value- Specified by:
getTokenValuein interfaceToken
-
-