Package org.springframework.security.providers.anonymous

Examples of org.springframework.security.providers.anonymous.AnonymousAuthenticationProvider


    // AnonymousAuthenticationProvider
    bind(AnonymousAuthenticationProvider.class).toProvider(new Provider<AnonymousAuthenticationProvider>() {

      public AnonymousAuthenticationProvider get() {
        final AnonymousAuthenticationProvider aap = new AnonymousAuthenticationProvider();
        aap.setKey(config.getString(ConfigKeys.APP_NAME.getKey()));
        return aap;
      }

    }).in(Scopes.SINGLETON);
View Full Code Here


    // verify dao auth provider
    final DaoAuthenticationProvider p = i.getInstance(DaoAuthenticationProvider.class);
    assert p != null : "Unable to obtain a dao auth provider";

    // verify AnonymousAuthenticationProvider
    final AnonymousAuthenticationProvider ap = i.getInstance(AnonymousAuthenticationProvider.class);
    assert ap != null : "Unable to obtain AnonymousAuthenticationProvider";

    // verify AuthenticationManager
    final AuthenticationManager am = i.getInstance(AuthenticationManager.class);
    assert am != null : "Unable to obtain AuthenticationManager";
View Full Code Here

TOP

Related Classes of org.springframework.security.providers.anonymous.AnonymousAuthenticationProvider

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.