public abstract class RequestSecurityToken extends Object
RequestSecurityToken
represents the
WS-Trust protocol element RequestSecurityToken.Modifier and Type | Field and Description |
---|---|
protected static String |
ADDRESS |
protected static String |
APPLIES_TO |
protected String |
appliesTo |
protected static String |
CLAIMS |
protected List<ClaimType> |
claimTypes |
protected static String |
EP_REFERENCE |
protected static String |
KEY_TYPE |
protected String |
keyType |
protected Element |
oboToken |
protected static String |
ON_BEHALF_OF |
protected static String |
REQUEST_SECURITY_TOKEN |
protected static String |
REQUEST_TYPE |
protected String |
requestType |
protected static String |
TOKEN_TYPE |
protected String |
tokenType |
Constructor and Description |
---|
RequestSecurityToken() |
Modifier and Type | Method and Description |
---|---|
String |
getAppliesTo()
Returns the appliesTo attribute.
|
List |
getClaimTypes()
Returns the list of claim types.
|
String |
getKeyType()
Returns the keytype
|
Element |
getOnBehalfOf()
Returns the OnBehalfOf
Element |
String |
getRequestType()
Returns the request type
|
String |
getTokenType()
Returns the token type.
|
void |
setAppliesTo(String appliesTo)
Sets the appliesTo attribute.
|
void |
setClaimTypes(List claimTypes)
Sets the list of claim types
|
void |
setKeyType(String keyType)
Sets the keytype
|
void |
setOnBehalfOf(Element oboToken)
Sets the Ob behalf of token.
|
void |
setRequestType(String requestType)
Sets the request type.
|
void |
setTokenType(String tokenType)
Sets the token type.
|
abstract Element |
toDOMElement()
Returns the DOM Element representation for the request security token.
|
abstract String |
toXMLString()
Converts into XML String
|
protected static final String REQUEST_SECURITY_TOKEN
protected static final String REQUEST_TYPE
protected static final String TOKEN_TYPE
protected static final String APPLIES_TO
protected static final String EP_REFERENCE
protected static final String ADDRESS
protected static final String ON_BEHALF_OF
protected static final String KEY_TYPE
protected static final String CLAIMS
protected String requestType
protected String appliesTo
protected Element oboToken
protected String keyType
protected String tokenType
public String getRequestType()
public void setRequestType(String requestType)
requestType
- the request typepublic String getTokenType()
public void setTokenType(String tokenType)
tokenType
- the token type.public String getAppliesTo()
public void setAppliesTo(String appliesTo)
appliesTo
- the appliesTo attribute.public Element getOnBehalfOf()
Element
Element
public void setOnBehalfOf(Element oboToken)
oboToken
- the on behalf of token.public String getKeyType()
public void setKeyType(String keyType)
keyType
- the keytype.public List getClaimTypes()
public void setClaimTypes(List claimTypes)
claimTypes
- the list of claim types.public abstract Element toDOMElement() throws WSTException
com.sun.identity.wss.sts.protocol.WSTException
WSTException
public abstract String toXMLString() throws WSTException
RequestSecurityToken
.WSTException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.