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
public class TokenRenewOperation extends AbstractOperation implements 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 Constructor Description TokenRenewOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RequestSecurityTokenResponseTypecreateResponse(EncryptionProperties encryptionProperties, TokenRenewerResponse tokenRenewerResponse, TokenRequirements tokenRequirements, KeyRequirements keyRequirements)List<TokenRenewer>getTokenRenewers()RequestSecurityTokenResponseTyperenew(RequestSecurityTokenType request, Principal principal, Map<String,Object> messageContext)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
-
-
-
-
Method Detail
-
setTokenRenewers
public void setTokenRenewers(List<TokenRenewer> tokenRenewerList)
-
getTokenRenewers
public List<TokenRenewer> 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
-
-