package org.jasig.cas.support.saml.web.idp.profile.builders;

import org.jasig.cas.client.validation.Assertion;
import org.jasig.cas.support.saml.SamlException;
import org.jasig.cas.support.saml.services.SamlRegisteredService;
import org.jasig.cas.support.saml.services.idp.metadata.SamlRegisteredServiceServiceProviderMetadataFacade;
import org.opensaml.saml.common.SAMLObject;
import org.opensaml.saml.saml2.core.AuthnRequest;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * The {@link SamlProfileObjectBuilder} defines the operations
 * required for building the saml response for an RP.
 *
 * @author Misagh Moayyed
 * @param <T> the type parameter
 * @since 4.3
 */
public interface SamlProfileObjectBuilder<T extends SAMLObject> {

    /**
     * Build response.
     *
     * @param <T>          the type parameter
     * @param authnRequest the authn request
     * @param request      the request
     * @param response     the response
     * @param assertion    the assertion
     * @param service      the service
     * @param adaptor      the adaptor
     * @return the response
     * @throws SamlException the exception
     */
    <T> T build(final AuthnRequest authnRequest, final HttpServletRequest request,
                final HttpServletResponse response, final Assertion assertion,
                final SamlRegisteredService service, final SamlRegisteredServiceServiceProviderMetadataFacade adaptor) throws SamlException;
}

@@ -827,54 +827,8 @@
   *%0A
-     * @param %3CT%3E          the type parameter%0A
     
@@ -1148,20 +1148,16 @@
   */%0A   
- %3CT%3E
  T build
@@ -1232,28 +1232,24 @@
             
-    
 final HttpSe
@@ -1299,20 +1299,16 @@
 ertion,%0A
-    
         

fix an incorrect generic override