Package org.apereo.cas.ws.idp.services
Class DefaultRelyingPartyTokenProducer
java.lang.Object
org.apereo.cas.ws.idp.services.DefaultRelyingPartyTokenProducer
- All Implemented Interfaces:
WSFederationRelyingPartyTokenProducer
public class DefaultRelyingPartyTokenProducer
extends Object
implements WSFederationRelyingPartyTokenProducer
This is
DefaultRelyingPartyTokenProducer.- Since:
- 5.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultRelyingPartyTokenProducer(org.apereo.cas.authentication.SecurityTokenServiceClientBuilder clientBuilder, org.apereo.cas.util.crypto.CipherExecutor<String, String> credentialCipherExecutor, WSFederationRelyingPartyAttributeWriter attributeWriter) -
Method Summary
Modifier and TypeMethodDescriptionproduce(org.apache.cxf.ws.security.tokenstore.SecurityToken securityToken, org.apereo.cas.ws.idp.services.WSFederationRegisteredService service, WSFederationRequest fedRequest, jakarta.servlet.http.HttpServletRequest request, org.apereo.cas.validation.TicketValidator.ValidationResult assertion) Produce token for relying party.
-
Constructor Details
-
DefaultRelyingPartyTokenProducer
public DefaultRelyingPartyTokenProducer(org.apereo.cas.authentication.SecurityTokenServiceClientBuilder clientBuilder, org.apereo.cas.util.crypto.CipherExecutor<String, String> credentialCipherExecutor, WSFederationRelyingPartyAttributeWriter attributeWriter)
-
-
Method Details
-
produce
public String produce(org.apache.cxf.ws.security.tokenstore.SecurityToken securityToken, org.apereo.cas.ws.idp.services.WSFederationRegisteredService service, WSFederationRequest fedRequest, jakarta.servlet.http.HttpServletRequest request, org.apereo.cas.validation.TicketValidator.ValidationResult assertion) throws Exception Description copied from interface:WSFederationRelyingPartyTokenProducerProduce token for relying party.- Specified by:
producein interfaceWSFederationRelyingPartyTokenProducer- Parameters:
securityToken- the security tokenservice- the servicefedRequest- the fed requestrequest- the servlet requestassertion- the assertion- Returns:
- the element; token issues for the relying party
- Throws:
Exception- the exception
-