Package pl.edu.icm.unity.engine.api.authn
Authentication related API and utilities
- Author:
- K. Benedyczak
-
Interface Summary Interface Description AuthenticationProcessor Utility methods processing results of authenticators.AuthenticationResult Base contract of authentication result - have remote and local authn variants.AuthenticatorInstance Representation of an authenticator instance, which is a composition ofCredentialRetrieval
andCredentialVerificator
, configured.AuthenticatorSupportService Provides access to authenticators.CredentialExchange Marker interface.CredentialReset Implementations provide a credential reset functionality.CredentialRetrieval Retrieves credential, using a some binding specific method.CredentialRetrievalFactory Implementations allows for creatingCredentialRetrieval
s of a particular type.CredentialVerificator Implementations allow for verification of the provided credential.CredentialVerificatorFactory ProducesCredentialVerificator
s of a particular type.IdPLoginController.IdPLoginHandler Implemented by an IdP endpoint and registered withIdPLoginController
to inform it about authentications against the IdP.InteractiveAuthenticationProcessor Handles authentication results for interactive authentications (typically over some web binding).InteractiveAuthenticationProcessor.SessionReinitializer Used to prevent from session fixation attack.LogoutProcessor Performs a logout, including logout of additional session participants, in case of logout initiated directly in Unity.LogoutProcessorFactory Factory ofLogoutProcessor
s.RememberMeProcessor UnsuccessfulAuthenticationCounter Counts unsuccessful authentication attempts per client's IP address. -
Class Summary Class Description AbstractCredentialRetrieval<T extends CredentialExchange> Common code for allCredentialRetrieval
implementations.AbstractCredentialRetrievalFactory<T extends CredentialRetrieval> Common boilerplate forCredentialRetrievalFactory
implementations.AbstractCredentialVerificatorFactory Helper to easily create credential factories.AbstractVerificator AbstractCredentialVerificator
with a common boilerplate code.AuthenticatedEntity Stores information about authenticated entity during the authentication.AuthenticationFlow Stores information about a authentication flow, as configured by administrator and selectable by a user or client.AuthenticationResult.ErrorResult AuthenticationResult.ResolvableError AuthenticationResult.SuccessResult AuthenticationStepContext Describes context of authentication: in which realm it happens (or happened), what flow is used, which option was used and which factor it was which can be 1 or 2 (at least until we start support 3rd factor authn).AuthenticationSubject DTO containing information about a user being authenticated.AuthenticatorStepContext Describes authenticator context of authentication: in which realm it happens (or happened), what flow is used, which factor it was which can be 1 or 2 (at least until we start support 3rd factor authn).DefaultUnsuccessfulAuthenticationCounter Counts unsuccessful authentication attempts per client's IP address.EntityWithCredential Entity and a value of (one of) its credential attributeIdPLoginController This component allows the generic Unity part (not IdP endpoint specific) to obtain information on the IdP login being performed and forcefully cleaning it.InteractiveAuthenticationProcessor.PostAuthenticationStepDecision InteractiveAuthenticationProcessor.PostAuthenticationStepDecision.ErrorDetail InteractiveAuthenticationProcessor.PostAuthenticationStepDecision.SecondFactorDetail InteractiveAuthenticationProcessor.PostAuthenticationStepDecision.UnknownRemoteUserDetail InvocationContext Stores thread-local information about the current request metadata in thread local variable.LastAuthenticationCookie LocalAuthenticationResult This class object is returned by local authenticator with information about authentication result.LocalAuthenticationResult.NotApplicableResult LoginSession Represents login session.LoginSession.AuthNInfo LoginSession.RememberMeInfo NoOpLoginCounter PartialAuthnState Provides information about partial state of authentication.RememberMeToken Contains information used by remember me functionalityRememberMeToken.LoginMachineDetails RemoteAuthenticationResult This class object is returned by authenticator with information about authentication result.RemoteAuthenticationResult.RemoteErrorResult RemoteAuthenticationResult.RemoteSuccessResult RemoteAuthenticationResult.UnknownRemotePrincipalResult SessionCookie -
Exception Summary Exception Description AuthenticationException Thrown on authentication problem.RemoteAuthenticationException Thrown on authentication problem.