Package org.apache.directory.shared.ldap.exception

Examples of org.apache.directory.shared.ldap.exception.LdapAuthenticationException


            if ( userEntry == null )
            {
            LdapDN dn = opContext.getDn();
            String upDn = ( dn == null ? "" : dn.getUpName() );
           
                throw new LdapAuthenticationException( "Failed to lookup user for authentication: "
                    + upDn );
            }
        }
        catch ( Exception cause )
        {
            LOG.error( "Authentication error : " + cause.getMessage() );
            LdapAuthenticationException e = new LdapAuthenticationException( cause.getMessage() );
            e.setRootCause( e );
            throw e;
        }

        Value<?> userPassword;
View Full Code Here


            LOG.info( "Cannot bind to the server " );
        }

        LdapDN dn = opContext.getDn();
        String upDn = ( dn == null ? "" : dn.getUpName() );
        throw new LdapAuthenticationException( "Cannot authenticate user " + upDn );
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.shared.ldap.exception.LdapAuthenticationException

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.