Java Ultimate Tools – Auth

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

Downloads

Maven Download

<dependencies>
    <dependency>
        <groupId>com.jgcomptech.tools</groupId>
        <artifactId>java-ultimate-tools-auth</artifactId>
        <version>2.0.0</version>
    </dependency>
</dependencies>
compile 'com.jgcomptech.tools:java-ultimate-tools-auth:2.0.0'
compile(group = "com.jgcomptech.tools", name = "java-ultimate-tools-auth", version = "2.0.0")
libraryDependencies += "com.jgcomptech.tools" % "java-ultimate-tools-auth" % "2.0.0"
<dependency org="com.jgcomptech.tools" name="java-ultimate-tools-auth" rev="2.0.0" />
@Grapes(
  @Grab(group='com.jgcomptech.tools', module='java-ultimate-tools-auth', version='2.0.0')
)

Version 1.5.1 changes (10/13/2018):
* Added new userHasPermissions method overload to AuthManager
* Added new userHasPermissions method overload to Subject
* Fixed bugs and missing methods in Subject
* Fixed deprecated methods in NativeMethods
* Fixed other small bugs