Class UnknownRemoteUserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pl.edu.icm.unity.engine.api.authn.AuthenticationException
-
- pl.edu.icm.unity.engine.api.authn.remote.UnknownRemoteUserException
-
- All Implemented Interfaces:
Serializable
public class UnknownRemoteUserException extends AuthenticationException
Thrown on authentication problem, when the user is properly authenticated remotely but is unknown in the local DB (after a complete translation profile execution).- Author:
- K. Benedyczak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownRemoteUserException(String msg, RemoteAuthenticationResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFormForUser()
RemotelyAuthenticatedPrincipal
getRemoteContext()
RemoteAuthenticationResult
getResult()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownRemoteUserException
public UnknownRemoteUserException(String msg, RemoteAuthenticationResult result)
-
-
Method Detail
-
getFormForUser
public String getFormForUser()
- Returns:
- registration form for the locally unknown user, or null if not defined.
-
getRemoteContext
public RemotelyAuthenticatedPrincipal getRemoteContext()
-
getResult
public RemoteAuthenticationResult getResult()
- Overrides:
getResult
in classAuthenticationException
-
-