| Package | Description |
|---|---|
| ml.alternet.security |
This package aims to enhance security on passwords
handled in the JVM.
|
| ml.alternet.security.auth |
Support for password based authentication.
|
| ml.alternet.security.impl |
Base and full implementations of passwords.
|
| ml.alternet.security.web |
Handle safe passwords on a Web environment, meaning that in the
Web processing chain, a password NEVER appear as a String (unsafe)
inside the Web container.
|
| ml.alternet.security.web.server |
Helper classes for Web containers such as
Jetty, Tomcat...
|
| Modifier and Type | Class and Description |
|---|---|
class |
EmptyPassword
The empty password (use it as a placeholder for
a password when no password is supplied.
|
| Modifier and Type | Method and Description |
|---|---|
Password |
PasswordManager.newPassword(char[] password)
Obfuscate the given password in a new Password instance.
|
static Password |
Password.newPassword(char[] password)
Obfuscate the given password in a new Password instance.
|
| Modifier and Type | Method and Description |
|---|---|
Password |
Credentials.getPassword()
Return the password.
|
| Modifier and Type | Method and Description |
|---|---|
static Credentials |
Credentials.fromPassword(Password password)
Create the credentials from a password.
|
static Credentials |
Credentials.fromUserPassword(String username,
Password password)
Create the credentials from a user and a password.
|
Credentials |
Credentials.withPassword(Password password)
Append a password field to this credentials.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPassword
Base implementation of a password.
|
| Modifier and Type | Method and Description |
|---|---|
Password |
AbstractPasswordManager.newPassword(char[] password) |
Password |
WeakPasswordManager.newValidPassword(char[] password) |
Password |
StrongPasswordManager.newValidPassword(char[] password) |
Password |
StandardPasswordManager.newValidPassword(char[] password) |
protected abstract Password |
AbstractPasswordManager.newValidPassword(char[] password)
Obfuscate the given password in a new Password instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PasswordParam
Represent a non empty sequence of passwords.
|
| Modifier and Type | Method and Description |
|---|---|
Password |
PasswordParam.unwrap() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Password> |
PasswordParam.iterator() |
| Constructor and Description |
|---|
PasswordParam(Password password)
Convenient constructor for a sequence of a single password.
|
| Constructor and Description |
|---|
PasswordParam(Iterator<Password> sequence)
Create a sequence of passwords.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CaptureContext.add(String name,
Password newPassword)
Append a password that have been captured to this context.
|
Copyright © 2018 Alternet. All rights reserved.