Package org.jasig.cas.support.openid.authentication.handler.support

Examples of org.jasig.cas.support.openid.authentication.handler.support.OpenIdCredentialsAuthenticationHandler


        this.authenticationManager = new DirectMappingAuthenticationManagerImpl();
       
        final Map<Class<? extends Credentials>, DirectAuthenticationHandlerMappingHolder> credentialsMapping = new HashMap<Class<? extends Credentials>, DirectAuthenticationHandlerMappingHolder>();
       
        final DirectAuthenticationHandlerMappingHolder holder = new DirectAuthenticationHandlerMappingHolder();
        final OpenIdCredentialsAuthenticationHandler handler = new OpenIdCredentialsAuthenticationHandler();
        handler.setTicketRegistry(this.ticketRegistry);
        holder.setAuthenticationHandler(handler);
        holder.setCredentialsToPrincipalResolver(new OpenIdCredentialsToPrincipalResolver());
       
        this.authenticationManager.setCredentialsMapping(credentialsMapping);
        credentialsMapping.put(OpenIdCredentials.class, holder);
View Full Code Here


   
    private TicketRegistry ticketRegistry;

    protected void setUp() throws Exception {
        super.setUp();
        this.openIdCredentialsAuthenticationHandler = new OpenIdCredentialsAuthenticationHandler();
        this.ticketRegistry = new DefaultTicketRegistry();
        this.openIdCredentialsAuthenticationHandler.setTicketRegistry(this.ticketRegistry);
    }
View Full Code Here

TOP

Related Classes of org.jasig.cas.support.openid.authentication.handler.support.OpenIdCredentialsAuthenticationHandler

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.