|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.systinet.wasp.security.ws.ReferrableElement
org.systinet.wasp.security.ws.SecurityToken
org.systinet.wasp.security.ws.ReferencedToken
This class can wrap a security token, giving a processing hint, that this token should be referenced using a local URI reference.
Field Summary | |
protected SecurityToken |
securityToken
|
Fields inherited from class org.systinet.wasp.security.ws.SecurityToken |
NULL_PROPERTY_CONF_ARRAY |
Constructor Summary | |
ReferencedToken(SecurityToken securityToken)
Creates a new referenced security token. |
Method Summary | |
protected java.lang.String |
getEncryptionMethodHint()
Returns encryption method hint. |
protected java.lang.String |
getId()
Simply delegates to the wrapped token. |
protected java.lang.String |
getIdForced()
Simply delegates to the wrapped token. |
protected java.lang.String |
getKeyEncryptionMethodHint()
Returns key encryption method hint. |
protected SecurityTokenConf |
getSecurityTokenConf(MessageConf messageConf)
Returns security token configuration. |
protected java.lang.String |
getSignatureMethodHint()
Returns signature method hint. |
protected java.lang.String |
getTokenReferenceModeHint(SecurityElement securityElement)
Returns Constants.STM_REFERENCE |
void |
setId(java.lang.String id)
Sets id |
Methods inherited from class org.systinet.wasp.security.ws.SecurityToken |
getExternalTokenReferenceModeHint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SecurityToken securityToken
Constructor Detail |
public ReferencedToken(SecurityToken securityToken)
securityToken
- the token to be referenced using key identifierMethod Detail |
protected SecurityTokenConf getSecurityTokenConf(MessageConf messageConf)
getSecurityTokenConf
in class SecurityToken
messageConf
- the message configuration used for creation of the token configuration
protected java.lang.String getSignatureMethodHint()
getSignatureMethodHint
in class SecurityToken
protected java.lang.String getEncryptionMethodHint()
getEncryptionMethodHint
in class SecurityToken
protected java.lang.String getKeyEncryptionMethodHint()
null
. Simply delegates to the wrapped security token.
getKeyEncryptionMethodHint
in class SecurityToken
protected java.lang.String getTokenReferenceModeHint(SecurityElement securityElement)
Constants.STM_REFERENCE
getTokenReferenceModeHint
in class SecurityToken
securityElement
- not used
Constants.STM_REFERENCE
protected java.lang.String getIdForced()
getIdForced
in class ReferrableElement
protected java.lang.String getId()
getId
in class ReferrableElement
public void setId(java.lang.String id)
setId
in class ReferrableElement
id
- id value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |