Package org.apache.directory.server.kerberos.shared.jaas

Examples of org.apache.directory.server.kerberos.shared.jaas.Krb5LoginConfiguration


     */
    @Test
    public void testSaslGssapiBind()
    {
        // Use our custom configuration to avoid reliance on external config
        Configuration.setConfiguration( new Krb5LoginConfiguration() );
        // 1. Authenticate to Kerberos.
        LoginContext lc = null;
        try
        {
            lc = new LoginContext( SaslGssapiBindITest.class.getName(), new CallbackHandlerBean( "hnelson", "secret" ) );
View Full Code Here

TOP

Related Classes of org.apache.directory.server.kerberos.shared.jaas.Krb5LoginConfiguration

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.