Package org.apache.cxf.sts.operation
Class TokenRenewOperation
java.lang.Object
org.apache.cxf.sts.operation.AbstractOperation
org.apache.cxf.sts.operation.TokenRenewOperation
- All Implemented Interfaces:
RenewOperation
An implementation of the IssueOperation interface to renew tokens.
-
Field Summary
Fields inherited from class org.apache.cxf.sts.operation.AbstractOperation
allowCustomContent, claimsManager, delegationHandlers, encryptIssuedToken, eventPublisher, includeLifetimeElement, returnReferences, services, stsProperties, TOKEN_TYPE, tokenProviders, tokenStore, tokenValidators, tokenWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RequestSecurityTokenResponseTypecreateResponse(EncryptionProperties encryptionProperties, TokenRenewerResponse tokenRenewerResponse, TokenRequirements tokenRequirements, KeyRequirements keyRequirements) voidsetTokenRenewers(List<TokenRenewer> tokenRenewerList) Methods inherited from class org.apache.cxf.sts.operation.AbstractOperation
cleanRequest, createLifetime, createRequestedReference, createRequestedReference, createTokenProviderParameters, encryptSecret, extractAddressFromAppliesTo, findInboundSecurityToken, getClaimsManager, getDelegationHandlers, getTokenProviders, getTokenStore, getTokenValidators, getTokenWrapper, isAllowCustomContent, isIncludeLifetimeElement, isReturnReferences, parseRequest, performDelegationHandling, processValidToken, publishEvent, setAllowCustomContent, setClaimsManager, setDelegationHandlers, setEncryptIssuedToken, setEventListener, setIncludeLifetimeElement, setReturnReferences, setServices, setStsProperties, setTokenProviders, setTokenStore, setTokenValidators, setTokenWrapper, validateReceivedToken
-
Constructor Details
-
TokenRenewOperation
public TokenRenewOperation()
-
-
Method Details
-
setTokenRenewers
-
getTokenRenewers
-
renew
public RequestSecurityTokenResponseType renew(RequestSecurityTokenType request, Principal principal, Map<String, Object> messageContext) - Specified by:
renewin interfaceRenewOperation
-
createResponse
protected RequestSecurityTokenResponseType createResponse(EncryptionProperties encryptionProperties, TokenRenewerResponse tokenRenewerResponse, TokenRequirements tokenRequirements, KeyRequirements keyRequirements) throws org.apache.wss4j.common.ext.WSSecurityException - Throws:
org.apache.wss4j.common.ext.WSSecurityException
-