|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wssecurity.callbackhandler.GenericIssuedTokenGenerateCallback
public class GenericIssuedTokenGenerateCallback
This is a Callback class used to collect configuration data associated with
the generator of a outgoing generic issued token.
It is important to note that an outgoing generic token (outbound request) is
issued by a SecurityTokenService using WS-Trust Issue, or
exchanged or validated from RunAs Subject by a SecurityTokenService using WS-Trust Validate.
Field Summary | |
---|---|
java.lang.String[] |
validateTargets
|
Constructor Summary | |
---|---|
GenericIssuedTokenGenerateCallback()
|
Method Summary | |
---|---|
java.lang.String |
getIssuer()
Return the token issuer name. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Return WS-Trust request parameters as defined in RSTT |
java.lang.String |
getStsBinding()
Returns the name for the policySet binding used by the WS-Trust client's Issue or Validate operation. |
java.lang.String |
getStsBindingScope()
Return the binding scope for WS-Trust client, and it is either "domain" or "application". |
java.lang.String |
getStsPolicy()
Returns the policySet name for WS-Trust client's Issue or Validate operation. |
java.lang.String |
getStsSoapVersion()
Returns the SOAP version for the WS-Trust client. |
java.lang.String |
getStsURI()
Returns the URL of SecurityTokenService that issues SecurityToken. |
java.lang.String |
getStsValidateBinding()
Returns the name for the policySet binding used by the WS-Trust client's Validate operation. |
java.lang.String |
getStsValidatePolicy()
Returns the policySet name for WS-Trust client's Validate operation. |
java.lang.String |
getUseToken()
Return the token's ValueType from tokens in RunAsSubject that client should use to directly Validate or exchange an issued token with SecurityTokenService. |
java.lang.String |
getValidateTarget()
Return the optional flag that indicate how to pass validation target to STS. |
java.lang.String |
getWstNamespace()
Return the WS-Trust namespace used in the SOAP communication with the Security Token provider. |
boolean |
includeTokenType()
The optional flag if WS-Trust client RST message should include requested token's ValueType. |
boolean |
isUNTPasswordRequired()
Returns the flag to indicate if password is required when requested token is UsernameToken. |
void |
setincludeTokenType(boolean status)
Set the optional flag if WS-Trust client RST message should include requested token's ValueType. |
void |
setIssuer(java.lang.String issuer)
Set token issuer name. |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Set RSTT for WS-Trust request |
void |
setStsBinding(java.lang.String binding)
Sets the name of WS-Trust client bindings for WS-Trust's Issue or Validate operation. |
void |
setStsBindingScope(java.lang.String scope)
Sets the binding scope for WS-Trust client, and it could be set to "domain" or "application". |
void |
setStsPolicy(java.lang.String policy)
Sets the name of WS-Trust client policy set for Issue or Validate operation. |
void |
setStsSoapVersion(java.lang.String ns)
Sets the required SOAP version of WS-Trust client. |
void |
setStsURI(java.lang.String uri)
Sets the URL name of SecurityTokenservice. |
void |
setStsValidateBinding(java.lang.String binding)
Sets the name of WS-Trust client bindings for WS-Trust's Validate operation. |
void |
setStsValidatePolicy(java.lang.String policy)
Sets the name of WS-Trust client policy set for Validate operation. |
void |
setUNTPasswordRequired(boolean required)
Sets the flag to indicate if password is required when requested token is UsernameToken. |
void |
setUseRunAsSubject(boolean state)
Set the flag if client should use a token from RunAsSubject to directly Validate or exchange the requested issued token with SecurityTokenService. |
void |
setUseRunAsSubjectOnly(boolean state)
Set the flag if WS-Security runtime should continue to use WS-Trust Issue to request an issued token after it fails to use token in RunAsSubject to validate or exchange for an issued token by using WS-Trust Validate. |
void |
setUseToken(java.lang.String token)
Set the token's ValueType from tokens in RunAsSubject that client should use to directly Validate or exchange an issued token with SecurityTokenService. |
void |
setValidateTarget(java.lang.String target)
Set flag to indicate how Validate message for WS-Trust request should be formated, the valid options are "token" or "base". |
void |
setValidateUseToken(boolean state)
Set the flag if a token in RunAsSubject should be validated or exchanged directly with SecurityTokenService. |
void |
setWstNamespace(java.lang.String ns)
Set WS-Trust namespace used in the SOAP communication with the Security Token provider. |
boolean |
useRunAsSubject()
Return the flag if client should use a token from RunAsSubject to directly Validate or exchange the requested issued token with SecurityTokenService. |
boolean |
useRunAsSubjectOnly()
Returns the flag if WS-Security runtime should continue to use WS-Trust Issue to request an issued token after it fails to use token in RunAsSubject to validate or exchange for an issued token by using WS-Trust Validate. |
boolean |
validateUseToken()
Return the flag that a token in RunAsSubject should be validated or exchanged directly with SecurityTokenService. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String[] validateTargets
Constructor Detail |
---|
public GenericIssuedTokenGenerateCallback()
Method Detail |
---|
public java.lang.String getStsURI()
public void setStsURI(java.lang.String uri)
uri
- the URL name of the Security Token Service (STS).public java.lang.String getStsPolicy()
public void setStsPolicy(java.lang.String policy)
the
- name of WS-Trust client policy set for Issue or Validate operation.public java.lang.String getStsBinding()
public void setStsBinding(java.lang.String binding)
binding
- the name of WS-Trust client bindings for WS-Trust's Issue or Validate operation.public java.lang.String getWstNamespace()
public void setWstNamespace(java.lang.String ns)
wstNamespace
- the WS-Trust NameSpace, it is "http://schemas.xmlsoap.org/ws/2005/02/trust" for ws-trust 1.2,
or "http://docs.oasis-open.org/ws-sx/ws-trust/200512" for ws-trust 1.3public java.lang.String getStsSoapVersion()
public void setStsSoapVersion(java.lang.String ns)
version
- the required SOAP version for WS-Trust client, the valid values are 1.1 or 1.2.public java.lang.String getStsBindingScope()
public void setStsBindingScope(java.lang.String scope)
scope
- the binding scope for WS-Trust client, and it is either "domain" or "application".public java.util.Map<java.lang.String,java.lang.String> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.String> map)
WS-Trust
- RSTT parameterspublic boolean includeTokenType()
public void setincludeTokenType(boolean status)
optional
- flag if include token's ValueType in RST message.public java.lang.String getIssuer()
public void setIssuer(java.lang.String issuer)
token
- issuer name.public boolean useRunAsSubject()
public void setUseRunAsSubject(boolean state)
the
- optional flag to use RunAsSubject for token exchange with SecurityTokenService.public java.lang.String getUseToken()
public void setUseToken(java.lang.String token)
token
- ValueType from tokens in RunAsSubject to be used to exchange an issued token with SecurityTokenService.public boolean validateUseToken()
public void setValidateUseToken(boolean state)
flag
- if a used token from RunAsSubject should be validated against SecurityTokenService when using as outgoing authentication token.public java.lang.String getValidateTarget()
public void setValidateTarget(java.lang.String target)
WS-Trust
- Validate target format.public java.lang.String getStsValidatePolicy()
public void setStsValidatePolicy(java.lang.String policy)
the
- name of WS-Trust client policy set for Validate operation.public java.lang.String getStsValidateBinding()
public void setStsValidateBinding(java.lang.String binding)
binding
- the name of WS-Trust client bindings for WS-Trust's Validate operation.public boolean useRunAsSubjectOnly()
public void setUseRunAsSubjectOnly(boolean state)
the
- flag if WS-Trust Issue should be used to request an issued token after WS-Trust Validate fails to exchange
an issued token using token from RunAsSubject.public boolean isUNTPasswordRequired()
public void setUNTPasswordRequired(boolean required)
the
- flag to indicate if password is required when requested token is UsernameToken.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |