pwcommon

This module is part of a JAAS library, provoding common classes for password based credential handling. This implementation is production ready.

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

pwcommon
Last Version

Last Version

2.0
Release Date

Release Date

Type

Type

jar
Description

Description

pwcommon
This module is part of a JAAS library, provoding common classes for password based credential handling. This implementation is production ready.
Project URL

Project URL

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

Project Organization

Michael Beiter <[email protected]>
Source Code Management

Source Code Management

https://github.com/mbeiter/jaas

Download pwcommon

How to add to project

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

There are no modules declared in this project.

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