Class WSTrustContractImpl
java.lang.Object
com.sun.xml.ws.security.trust.impl.WSTrustContractImpl
- All Implemented Interfaces:
WSTrustContract<BaseSTSRequest,BaseSTSResponse>
- Direct Known Subclasses:
ICContractImpl
public class WSTrustContractImpl
extends Object
implements WSTrustContract<BaseSTSRequest,BaseSTSResponse>
- Author:
- Jiandong Guo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WSTrustElementFactoryprotected static final Stringprotected static final Stringprotected STSConfigurationprotected WSTrustVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancel(BaseSTSRequest rst, IssuedTokenContext context, Map map) Cancel a Tokenprotected voidhandleExtension(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context) voidhandleUnsolicited(BaseSTSResponse rstr, IssuedTokenContext context) handle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.voidinit(STSConfiguration stsConfig) issue(BaseSTSRequest request, IssuedTokenContext context) Issue a Tokenrenew(BaseSTSRequest rst, IssuedTokenContext context) Renew a Tokenvalidate(BaseSTSRequest request, IssuedTokenContext context) Validate a Token
-
Field Details
-
SAML_SENDER_VOUCHES_1_0
- See Also:
-
SAML_SENDER_VOUCHES_2_0
- See Also:
-
stsConfig
-
wstVer
-
eleFac
-
-
Constructor Details
-
WSTrustContractImpl
public WSTrustContractImpl()
-
-
Method Details
-
init
- Specified by:
initin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse>
-
issue
public BaseSTSResponse issue(BaseSTSRequest request, IssuedTokenContext context) throws WSTrustException Description copied from interface:WSTrustContractIssue a Token- Specified by:
issuein interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse> - Throws:
WSTrustException
-
handleExtension
protected void handleExtension(BaseSTSRequest request, BaseSTSResponse response, IssuedTokenContext context) throws WSTrustException - Throws:
WSTrustException
-
renew
public BaseSTSResponse renew(BaseSTSRequest rst, IssuedTokenContext context) throws WSTrustException Description copied from interface:WSTrustContractRenew a Token- Specified by:
renewin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse> - Throws:
WSTrustException
-
cancel
public BaseSTSResponse cancel(BaseSTSRequest rst, IssuedTokenContext context, Map map) throws WSTrustException Description copied from interface:WSTrustContractCancel a Token- Specified by:
cancelin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse> - Throws:
WSTrustException
-
validate
public BaseSTSResponse validate(BaseSTSRequest request, IssuedTokenContext context) throws WSTrustException Description copied from interface:WSTrustContractValidate a Token- Specified by:
validatein interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse> - Throws:
WSTrustException
-
handleUnsolicited
public void handleUnsolicited(BaseSTSResponse rstr, IssuedTokenContext context) throws WSTrustException Description copied from interface:WSTrustContracthandle an unsolicited RSTR like in the case of Client Initiated Secure Conversation.- Specified by:
handleUnsolicitedin interfaceWSTrustContract<BaseSTSRequest,BaseSTSResponse> - Throws:
WSTrustException
-