| Package | Description |
|---|---|
| ml.alternet.security |
This package aims to enhance security on passwords
handled in the JVM.
|
| ml.alternet.security.impl |
Base and full implementations of passwords.
|
| ml.alternet.security.web.server |
Helper classes for Web containers such as
Jetty, Tomcat...
|
| Modifier and Type | Method and Description |
|---|---|
static PasswordManager |
PasswordManagerFactory.getDefaultPasswordManager()
Get the default password manager, according to the configuration, which
can be any of the supplied password manager (see other methods) or also a
custom configuration.
|
static PasswordManager |
PasswordManagerFactory.getStandardPasswordManager()
Return the standard password manager where passwords are Base64 encoded.
|
static PasswordManager |
PasswordManagerFactory.getStrongPasswordManager()
Return the strong password manager where passwords are encrypted,
therefore not easy to find in the memory.
|
static PasswordManager |
PasswordManagerFactory.getWeakPasswordManager()
Return the weak password manager where passwords are kept clear ; a weak
password manager is suitable for example when a password is already clear
in the system, such as a database password which has been read from a
configuration file aside the system, which therefore already appears
clear.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPasswordManager
Base implementation of a password manager.
|
class |
StandardPasswordManager
A simple password manager that obfuscate passwords with a Base64 encoding.
|
class |
StrongPasswordManager
A password manager that encrypt passwords.
|
class |
WeakPasswordManager
A weak password manager that doesn't obfuscate passwords.
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
BasicAuthorizationBuffer.replace(PasswordManager passwordManager)
Replace the raw password in the buffer with '*'
and reencode the credentials in Base64.
|
| Constructor and Description |
|---|
FormReader(FormLimit formLimit,
PasswordManager pm)
Create an HTML form reader, encoded in UTF-8.
|
Copyright © 2018 Alternet. All rights reserved.