All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jasig.cas.web.v3.V3ProxyValidateController Maven / Gradle / Ivy

package org.jasig.cas.web.v3;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

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

/**
 * @author Misagh Moayyed
 * @since 4.2
 */
@Component("v3ProxyValidateController")
@Controller
public class V3ProxyValidateController extends V3ServiceValidateController {
    /**
     * Handle model and view.
     *
     * @param request the request
     * @param response the response
     * @return the model and view
     * @throws Exception the exception
     */
    @RequestMapping(path="/p3/proxyValidate", method = RequestMethod.GET)
    @Override
    protected ModelAndView handle(final HttpServletRequest request, final HttpServletResponse response)
        throws Exception {
        return super.handleRequestInternal(request, response);
    }

    @Override
    @Autowired
    public void setValidationSpecificationClass(@Value("org.jasig.cas.validation.Cas20ProtocolValidationSpecification")
                                                final Class validationSpecificationClass) {
        super.setValidationSpecificationClass(validationSpecificationClass);
    }




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy