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

Examples of org.apache.qpid.server.security.auth.sasl.AuthenticationProviderInitialiser


    private void setupMocks() throws Exception
    {
        _principalDatabase = mock(PrincipalDatabase.class);

        AuthenticationProviderInitialiser _mockMechInitialiser = mock(AuthenticationProviderInitialiser.class);
        Map<String, AuthenticationProviderInitialiser> _initialisers = Collections.singletonMap(MOCK_MECH_NAME, _mockMechInitialiser);

        when(_principalDatabase.getMechanisms()).thenReturn(_initialisers);

        _manager = new PrincipalDatabaseAuthenticationManager(_principalDatabase);
View Full Code Here

TOP

Related Classes of org.apache.qpid.server.security.auth.sasl.AuthenticationProviderInitialiser

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.