Package alpine.server.auth
package alpine.server.auth
This package contains authentication and authorization related classes.
-
ClassDescriptionAn exception class that optionally holds pre-determined causes for common authentication failures.Alpine Cookies are secure with the HttpOnly, Secure, and Samesite flags enabled.Authentication service that validates API keys.An annotation that when used, indicated that a method (in a JAX-RS resource) does not require authentication (when authentication is enabled).Interface that defines an authentication service.Class is responsible for authenticating managed users against the internal user database and optionally against a configured directory service (LDAP).An specific type of cookie designed to contain a JWT token.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.An AuthenticationService implementation for JWTs that authenticates users based on a token presented in the request.Class that performs authentication against LDAP servers.A convenience wrapper for LDAP connections and commons LDAP tasks.Class that performs authentication against internally managed users.Alpine PasswordService that provides a secure method of hashing and validating user passwords.This annotation is intended to be used in conjunction with JAX-RS resources (methods) to define what permissions are required to access the method.