org.apache.directory.shared.ldap.exception
Class LdapAuthenticationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.naming.NamingException
              extended byjavax.naming.NamingSecurityException
                  extended byjavax.naming.AuthenticationException
                      extended byorg.apache.directory.shared.ldap.exception.LdapAuthenticationException
All Implemented Interfaces:
LdapException, java.io.Serializable

public class LdapAuthenticationException
extends javax.naming.AuthenticationException
implements LdapException

A subclass of AuthenticationException which associates the ResultCodeEnum.INVALIDCREDENTIALS value with the type.

Version:
$Rev: 379008 $
Author:
Apache Directory Project
See Also:
LDAP ResultCode to JNDI Exception Mappings, Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LdapAuthenticationException()
           
LdapAuthenticationException(java.lang.String msg)
           
 
Method Summary
 ResultCodeEnum getResultCode()
          Gets ResultCodeEnum.INVALIDCREDENTIALS every time.
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LdapAuthenticationException

public LdapAuthenticationException(java.lang.String msg)

LdapAuthenticationException

public LdapAuthenticationException()
Method Detail

getResultCode

public ResultCodeEnum getResultCode()
Gets ResultCodeEnum.INVALIDCREDENTIALS every time.

Specified by:
getResultCode in interface LdapException
Returns:
ResultCodeEnum.INVALIDCREDENTIALS
See Also:
LdapException.getResultCode()


Copyright © 2003-2006 . All Rights Reserved.