Package org.jasig.cas.client.validation

Examples of org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter


        return authenticationFilter;
    }

    @Bean
    public Filter casValidationFilter() {
        final Cas20ProxyReceivingTicketValidationFilter casValidationFilter = new Cas20ProxyReceivingTicketValidationFilter();
        final Cas20ServiceTicketValidator ticketValidator = new Cas20ServiceTicketValidator(serverUrlPrefix);
        casValidationFilter.setTicketValidator(ticketValidator);
        casValidationFilter.setServerName(serverName);
        return casValidationFilter;
    }
View Full Code Here


*/
public class CleanUpTimerTaskTest extends TestCase {

    public void testRun() throws Exception {
        final ProxyGrantingTicketStorageTestImpl storage = new ProxyGrantingTicketStorageTestImpl();
        new Cas20ProxyReceivingTicketValidationFilter().setProxyGrantingTicketStorage(storage);

        final TimerTask timerTask = new CleanUpTimerTask(storage);

        timerTask.run();
        assertTrue(storage.cleanUpWasCalled());
View Full Code Here

TOP

Related Classes of org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.