| Package | Description |
|---|---|
| ml.alternet.security.auth |
Support for password based authentication.
|
| ml.alternet.security.web.server |
Helper classes for Web containers such as
Jetty, Tomcat...
|
| Modifier and Type | Method and Description |
|---|---|
static Credentials |
Credentials.fromPassword(char[] password)
Create the credentials from a password.
|
static Credentials |
Credentials.fromPassword(Password password)
Create the credentials from a password.
|
static Credentials |
Credentials.fromUserPassword(String username,
char[] password)
Create the credentials from a user and a password.
|
static Credentials |
Credentials.fromUserPassword(String username,
Password password)
Create the credentials from a user and a password.
|
Credentials |
Credentials.withField(String field,
Object data)
Append a custom field to this credentials.
|
Credentials |
Credentials.withPassword(char[] password)
Append a password field to this credentials.
|
Credentials |
Credentials.withPassword(Password password)
Append a password field to this credentials.
|
Credentials |
Credentials.withRealm(String realm)
Append a realm field to this credentials.
|
Credentials |
Credentials.withUser(String username)
Append a user name field to this credentials.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Credentials.Checker.check(Credentials credentials,
String crypt)
Check some credentials with a given crypt.
|
| Modifier and Type | Method and Description |
|---|---|
Credentials |
AuthenticationMethod.getCredentials(javax.servlet.ServletRequest request)
Get the user credentials after authentication.
|
Credentials |
BasicAuthorizationBuffer.replace(PasswordManager passwordManager)
Replace the raw password in the buffer with '*'
and reencode the credentials in Base64.
|
Copyright © 2018 Alternet. All rights reserved.