Package alpine.auth
This package contains authentication and authorization related classes.
-
Interface Summary Interface Description AuthenticationService Interface that defines an authentication service. -
Class Summary Class Description AlpineCookie Alpine Cookies are secure with the HttpOnly, Secure, and Samesite flags enabled.ApiKeyAuthenticationService Authentication service that validates API keys.ApiKeyGenerator Class used to securely generate API keys.Authenticator Class is responsible for authenticating managed users against the internal user database and optionally against a configured directory service (LDAP).AuthorizationTokenCookie An specific type of cookie designed to contain a JWT token.JsonWebToken Decouples the general usage of JSON Web Tokens with the actual implementation of a JWT library All JWT usages should only go through this class and hide the actual implementation details and to avoid improper or insecure use of JWTs.JwtAuthenticationService An AuthenticationService implementation for JWTs that authenticates users based on a token presented in the request.LdapAuthenticationService Class that performs authentication against LDAP servers.LdapConnectionWrapper A convenience wrapper for LDAP connections and commons LDAP tasks.ManagedUserAuthenticationService Class that performs authentication against internally managed users.OidcAuthenticationService OidcConfiguration OidcConfigurationResolver OidcUserInfo PasswordService Alpine PasswordService that provides a secure method of hashing and validating user passwords. -
Enum Summary Enum Description AlpineAuthenticationException.CauseType IdentityProvider -
Exception Summary Exception Description AlpineAuthenticationException An exception class that optionally holds pre-determined causes for common authentication failures. -
Annotation Types Summary Annotation Type Description AuthenticationNotRequired An annotation that when used, indicated that a method (in a JAX-RS resource) does not require authentication (when authentication is enabled).PermissionRequired This annotation is intended to be used in conjunction with JAX-RS resources (methods) to define what permissions are required to access the method.