Package org.apache.qpid.server.security.auth.manager

Examples of org.apache.qpid.server.security.auth.manager.AuthenticationManager.initialise()


    @Override
    protected void changeAttributes(Map<String, Object> attributes)
    {
        Map<String, Object> effectiveAttributes = super.generateEffectiveAttributes(attributes);
        AuthenticationManager manager = validateAttributes(effectiveAttributes);
        manager.initialise();
        super.changeAttributes(attributes);
        _authManager = (T)manager;

        // if provider was previously in ERRORED state then set its state to ACTIVE
        _state.compareAndSet(State.ERRORED, State.ACTIVE);
View Full Code Here


                setPrincipalDatabase(ppd);

                super.initialise();
            }
        };
        pdam.initialise();

        return new IAuthenticationManagerRegistry()
        {
            @Override
            public void close()
View Full Code Here

                super.initialise();
            }
        };

        pdam.initialise();

        return pdam;
    }

}
View Full Code Here

    @Override
    protected void changeAttributes(Map<String, Object> attributes)
    {
        Map<String, Object> effectiveAttributes = super.generateEffectiveAttributes(attributes);
        AuthenticationManager manager = validateAttributes(effectiveAttributes);
        manager.initialise();
        super.changeAttributes(attributes);
        _authManager = (T)manager;

        // if provider was previously in ERRORED state then set its state to ACTIVE
        _state.compareAndSet(State.ERRORED, State.ACTIVE);
View Full Code Here

        users.put("admin","admin");

        final PropertiesPrincipalDatabase ppd = new PropertiesPrincipalDatabase(users);

        final AuthenticationManager pdam =  new PrincipalDatabaseAuthenticationManager(ppd);
        pdam.initialise();

        return new IAuthenticationManagerRegistry()
        {
            @Override
            public void close()
View Full Code Here

                super.initialise();
            }
        };

        pdam.initialise();

        return pdam;
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.