validators

This module is part of a JAAS library, provoding password based credential validators. This partiuclar Maven module is a container for validator implementations. Some of the provided default implementations may not intended for production, and may have to be adjusted to meet deployment specific requirements.

License

License

BSD 3-clause Revised License
Categories

Categories

JAAS: Jakarta Authentication & Jakarta Authorization Jakarta EE Jakarta Security
GroupId

GroupId

org.beiter.michael.authn.jaas.loginmodules.password
ArtifactId

ArtifactId

validators
Last Version

Last Version

2.0
Release Date

Release Date

Type

Type

pom
Description

Description

validators
This module is part of a JAAS library, provoding password based credential validators. This partiuclar Maven module is a container for validator implementations. Some of the provided default implementations may not intended for production, and may have to be adjusted to meet deployment specific requirements.
Project URL

Project URL

http://mbeiter.github.io/jaas/docs/2.0/validators/
Project Organization

Project Organization

Michael Beiter <[email protected]>
Source Code Management

Source Code Management

https://github.com/mbeiter/jaas

Download validators

Filename Size
validators-2.0.pom 1 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.beiter.michael.authn.jaas.loginmodules.password/validators/ -->
<dependency>
    <groupId>org.beiter.michael.authn.jaas.loginmodules.password</groupId>
    <artifactId>validators</artifactId>
    <version>2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.beiter.michael.authn.jaas.loginmodules.password/validators/
implementation 'org.beiter.michael.authn.jaas.loginmodules.password:validators:2.0'
// https://jarcasting.com/artifacts/org.beiter.michael.authn.jaas.loginmodules.password/validators/
implementation ("org.beiter.michael.authn.jaas.loginmodules.password:validators:2.0")
'org.beiter.michael.authn.jaas.loginmodules.password:validators:pom:2.0'
<dependency org="org.beiter.michael.authn.jaas.loginmodules.password" name="validators" rev="2.0">
  <artifact name="validators" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.beiter.michael.authn.jaas.loginmodules.password', module='validators', version='2.0')
)
libraryDependencies += "org.beiter.michael.authn.jaas.loginmodules.password" % "validators" % "2.0"
[org.beiter.michael.authn.jaas.loginmodules.password/validators "2.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.beiter.michael.authn.jaas : common jar 2.0
org.slf4j : slf4j-log4j12 jar 1.7.7
org.apache.commons : commons-lang3 jar 3.3.2

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.hamcrest : hamcrest-library jar 1.3

Project Modules

  • plaintext

JAAS Library

This JAAS library provides an extendable framework to easily create JAAS modules with auditing and message queue support.

Extension points in the library include:

  • Custom auditing
  • Custom message queues
  • Custom credential validation
  • Custom authenticators

The library includes a sample "Plain text password validator" (which should not be used in production deployments) as an example on how to implement credential validators.

The library also includes a production ready authenticator for JDBC backends using either a JDBC connection pool or a JNDI connection (which may or may not be pooled, depending on the JNDI configuration).

Useful Links

License

Copyright (c) 2014, Michael Beiter ([email protected])

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the copyright holder nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Versions

Version
2.0