Java Ultimate Tools Auth allows for creation of a fully customizable authentication system that leverages user sessions and permissions. It uses the package com.jgcomptech.tools.auth. This library contains the following features:
The Auth Manager is the central class that allows you to control the entire library from one location.
This class can be found in: com.jgcomptech.tools.auth.AuthManager
The User Manager allows management of all user objects and connects to Hibernate to store them in a database.
This class can be found in: com.jgcomptech.tools.auth.UserManager
The User Role Manager allows user objects to be assigned a user role which is subsequently assigned permissions. These roles can be basic or very complex depending on the needs of the application. A user can have explicit permissions assigned to it in addition to one or more user roles.
This class can be found in: The classes can be found in: com.jgcomptech.tools.auth.UserRoleManager
The Permission Manager allows for a user to be assigned permissions that grant or deny access to certain parts of the application and allow or prevent login during certain circumstances. A user can have explicit permissions assigned to it in addition to one or more user roles.
This class can be found in: com.jgcomptech.tools.auth.PermissionManager
The Session Manager allows a user to stay logged in to your application and store info about that state and length of login.
This class can be found in: com.jgcomptech.tools.authSessonManager
The Subject object allows for the ability to manage multiple user accounts via a single singleton object. This object becomes a placeholder for the current user.
This class can be found in: com.jgcomptech.tools.auth.Subject
<dependencies> <dependency> <groupId>com.jgcomptech.tools</groupId> <artifactId>java-ultimate-tools-auth</artifactId> <version>2.0.0</version> </dependency> </dependencies>