Class DefaultRelyingPartyTokenProducer

java.lang.Object
org.apereo.cas.ws.idp.services.DefaultRelyingPartyTokenProducer
All Implemented Interfaces:
WSFederationRelyingPartyTokenProducer

public class DefaultRelyingPartyTokenProducer extends Object implements WSFederationRelyingPartyTokenProducer
Since:
5.1.0
  • 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: WSFederationRelyingPartyTokenProducer
      Produce token for relying party.
      Specified by:
      produce in interface WSFederationRelyingPartyTokenProducer
      Parameters:
      securityToken - the security token
      service - the service
      fedRequest - the fed request
      request - the servlet request
      assertion - the assertion
      Returns:
      the element; token issues for the relying party
      Throws:
      Exception - the exception