Package alpine.auth
Class AlpineAuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.naming.NamingException
-
- javax.naming.NamingSecurityException
-
- javax.naming.AuthenticationException
-
- alpine.auth.AlpineAuthenticationException
-
- All Implemented Interfaces:
Serializable
public class AlpineAuthenticationException extends AuthenticationException
An exception class that optionally holds pre-determined causes for common authentication failures.- Since:
- 1.1.0
- Author:
- Steve Springett
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlpineAuthenticationException.CauseType
-
Field Summary
-
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
-
-
Constructor Summary
Constructors Constructor Description AlpineAuthenticationException(AlpineAuthenticationException.CauseType causeType)AlpineAuthenticationException(AlpineAuthenticationException.CauseType causeType, Principal principal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlpineAuthenticationException.CauseTypegetCauseType()PrincipalgetPrincipal()-
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
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
AlpineAuthenticationException
public AlpineAuthenticationException(AlpineAuthenticationException.CauseType causeType)
-
AlpineAuthenticationException
public AlpineAuthenticationException(AlpineAuthenticationException.CauseType causeType, Principal principal)
-
-
Method Detail
-
getCauseType
public AlpineAuthenticationException.CauseType getCauseType()
-
getPrincipal
public Principal getPrincipal()
-
-