Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pl.edu.icm.unity.exceptions.EngineException
-
- pl.edu.icm.unity.engine.api.authn.AuthenticationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
UnknownRemoteUserException
public class AuthenticationException extends pl.edu.icm.unity.exceptions.EngineException
Thrown on authentication problem.- Author:
- K. Benedyczak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException(java.lang.String msg)
AuthenticationException(java.lang.String msg, java.lang.Exception cause)
AuthenticationException(AuthenticationResult result, java.lang.String msg)
AuthenticationException(AuthenticationResult result, java.lang.String msg, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResult
getResult()
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(AuthenticationResult result, java.lang.String msg, java.lang.Throwable cause)
- Parameters:
result
- authentication result - should be failed, not successful.msg
-cause
-
-
AuthenticationException
public AuthenticationException(AuthenticationResult result, java.lang.String msg)
-
AuthenticationException
public AuthenticationException(java.lang.String msg)
-
AuthenticationException
public AuthenticationException(java.lang.String msg, java.lang.Exception cause)
-
-
Method Detail
-
getResult
public AuthenticationResult getResult()
-
-