Skip to content

A Large Repository Of Awesome Scripts For Java. Includes a complete authentication system.

License

Notifications You must be signed in to change notification settings

JGCompTech/JavaUltimateTools-Auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

JavaUltimateTools Auth v2.0.0

Build Status CircleCI Language grade: Java Maven Central Javadocs

Java Ultimate Tools Auth allows for creation of a fully customizable authentication system that leverages user sessions and permissions. It contains the following:

  • Auth Manager - The central class that allows you to control the entire library from one location.
  • User Manager - Allows management of all user objects and connects to Hibernate to store them in a database.
  • 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.
  • Permisssion 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.
  • Session Manager - Allows a user to stay logged in to your application and store info about that state and length of login.
  • Subject - Allows for the ability to manage multiple user accounts via a single singleton object. This object becomes a placeholder for the current user.
  • And Much More!

NOTE: This Project Has Now Been Updated To Use Java 11!!!

NOTE: This project used to be merged with the JavaUltimateTools project but, to allow for ease of development process and the ability to update each section sepeately, it made sense to create seperate libraries. This project has a dependancy on the JavaUltimateTools base library and the JavaUltimateTools-Databases library. If using a package manager, both will be auto-imported.

Development

Want to contribute? Great! Any help with development is greatly appreciated. If you want to add something or fix any issues please submit a pull request and if it is helpful it may be merged. Please check out our Code of Conduct for Contributors.

Documentation

The documentation for JUT is currently a work in progress and new changes will be occurring soon. To access the documentation site go to: https://javatools.jgcomptech.com. If you would like to view the JavaDoc info, it is hosted at github.io(Current GitHub Branch) and at javadoc.io(Current Maven Release). The github.io version is what is stored in the doc folder in the project.

Download

Download v2.0.0

The changelog can be found here

Using with Maven

If you are familiar with Maven, add the following XML fragments into your pom.xml file. With those settings, your Maven will automatically download our library into your local Maven repository, since our libraries are synchronized with the Maven central repository.

<dependencies>
   <dependency>
      <groupId>com.jgcomptech.tools</groupId>
     <artifactId>java-ultimate-tools-auth</artifactId>
     <version>2.0.0</version>
   </dependency>
</dependencies>

License

Creative Commons License

JavaUltimateTools by J&G CompTech is licensed under a Creative Commons Attribution 4.0 International License.

©2020 J&G CompTech

Releases

No releases published

Packages

No packages published