|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Token
This interface wraps the PropagationToken
interface in WebSphere
for WS-Security use.
PropagationToken
Method Summary | |
---|---|
boolean |
getCallerChecked()
Returns if the caller check has been done or not. |
org.w3c.dom.Element |
getElement()
Returns DOM expression of the token. |
SoapSecurityException |
getError()
Returns the error that occurs during token processing. |
java.lang.String |
getId()
Returns id string of this token. |
java.lang.String |
getKeyInfoType()
Returns the KeyInfo's type. |
javax.xml.namespace.QName |
getType()
Returns the value type of the token in the form of a QName object. |
TokenConsumerConfig |
getUsedTokenConsumer()
Returns the configuration of token consumer. |
TokenGeneratorConfig |
getUsedTokenGenerator()
Returns the configuration of token generator. |
boolean |
getUsedToLogin()
Checks whether the token is used to login or not. |
boolean |
isProcessed()
Returns if the token is processed or not. |
boolean |
isReferenced()
Returns if the token is referenced in the message or not. |
boolean |
isTrusted()
Returns auth required flag. |
void |
setCallerChecked(boolean isCallerChecked)
Sets the whether the caller check has been done or not. |
void |
setElement(org.w3c.dom.Element elem)
Sets DOM expression of the token. |
void |
setError(SoapSecurityException error)
Sets the error that occurs during token processing. |
void |
setId(java.lang.String tid)
Sets id string of this token. |
void |
setKeyInfoType(java.lang.String keyInfoType)
Sets the KeyInfo's type. |
void |
setProcessed(boolean isProcessed)
Sets if the token is processed or not. |
void |
setReferenced(boolean isReferenced)
Sets whether the token is referenced in the message or not. |
void |
setTrusted(boolean trusted)
Sets auth required flag. |
void |
setType(javax.xml.namespace.QName type)
Sets the value type of the token in the form of a QName object. |
void |
setType(java.lang.String uri,
java.lang.String localName)
Sets the value type of the token by a URI -- local name pair (i.e., qname). |
void |
setUsedTokenConsumer(TokenConsumerConfig usedConfig)
Sets the configuration of token consumer. |
void |
setUsedTokenGenerator(TokenGeneratorConfig usedConfig)
Sets the configuration of token generator. |
void |
setUsedToLogin(boolean usedToLogin)
Sets the flag that indicates whether the token is used to login. |
Methods inherited from interface com.ibm.wsspi.security.token.Token |
---|
addAttribute, clone, getAttributeNames, getAttributes, getBytes, getExpiration, getName, getPrincipal, getUniqueID, getVersion, isForwardable, isValid, setReadOnly |
Method Detail |
---|
java.lang.String getId()
void setId(java.lang.String tid)
tid
- org.w3c.dom.Element getElement()
Element
objectvoid setElement(org.w3c.dom.Element elem)
elem
- An Element
of the token itselfjavax.xml.namespace.QName getType()
QName
object.
void setType(javax.xml.namespace.QName type)
QName
object.
type
- a qname of the tokenvoid setType(java.lang.String uri, java.lang.String localName)
uri
- localName
- void setTrusted(boolean trusted)
trusted
- boolean isTrusted()
void setUsedToLogin(boolean usedToLogin)
usedToLogin
- True if the token is used to login, false otherwiseboolean getUsedToLogin()
boolean getCallerChecked()
void setCallerChecked(boolean isCallerChecked)
isCallerChecked
- True if caller check has been done, false otherwiseboolean isReferenced()
void setReferenced(boolean isReferenced)
isReferenced
- True if the token is referenced, false otherwisejava.lang.String getKeyInfoType()
void setKeyInfoType(java.lang.String keyInfoType)
keyInfoType
- The KeyInfo's typeTokenGeneratorConfig getUsedTokenGenerator()
void setUsedTokenGenerator(TokenGeneratorConfig usedConfig)
usedConfig
- The token generator configurationTokenConsumerConfig getUsedTokenConsumer()
void setUsedTokenConsumer(TokenConsumerConfig usedConfig)
usedConfig
- The token consumer configurationboolean isProcessed()
void setProcessed(boolean isProcessed)
isProcessed
- True if the token is processed, false otherwiseSoapSecurityException getError()
void setError(SoapSecurityException error)
error
- The SoapSecurityException that occured during token processing
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |