| Package | Description |
|---|---|
| com.sptci.auth |
Package for authentication and authorisation components.
|
| com.sptci.auth.digest | |
| com.sptci.echo |
Package of reusable Echo3 application components.
|
| com.sptci.echo.http |
Package of
javax.servlet related classes for use
in Echo2 applications. |
| com.sptci.echo2 |
Package of reusable Echo2 application components.
|
| com.sptci.echo2.http |
Package of
javax.servlet related classes for use
in Echo2 applications. |
| Modifier and Type | Method and Description |
|---|---|
User |
Authenticator.authenticate(String userName,
char[] password)
Authenticate the user with the specified credentials.
|
User |
Authenticator.authenticate(String userName,
char[] password,
char[] key)
Authenticate the user with the specified credentials.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Authoriser.checkAuthorisation(User user,
String[] groups)
Check the authorisation credentials of the specified user against
the list of groups specified.
|
protected boolean |
TomcatAuthoriser.processAuthorisation(User user,
String[] groups)
Check the authorisation credentials of the specified user against
the list of groups specified.
|
protected boolean |
DatabaseAuthoriser.processAuthorisation(User user,
String[] groups)
Check the authorisation credentials of the specified user against
the list of groups specified.
|
protected abstract boolean |
Authoriser.processAuthorisation(User user,
String[] groups)
Process the authorisation request by checking the specified user
for membership in the list of groups specified.
|
| Modifier and Type | Field and Description |
|---|---|
protected User |
Authenticator.user
The User object that was fetched through the authentication
request.
|
| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,User> |
Authenticator.userMap
|
| Modifier and Type | Method and Description |
|---|---|
protected User |
DatabaseAuthenticator.fetchUser()
Fetch the user object from the database and populate the fields
of
Authenticator.user. |
protected abstract User |
Authenticator.fetchUser()
Fetch the user object from the data store and populate the fields
of
Authenticator.user. |
User |
Authenticator.getUser()
Returns
Authenticator.user. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Authenticator.setUser(User user)
Set
Authenticator.user. |
| Modifier and Type | Field and Description |
|---|---|
protected User |
Application.user
The value object that represents the user currently logged on to the
application.
|
| Modifier and Type | Method and Description |
|---|---|
User |
Application.getUser()
Returns
Application.user. |
| Modifier and Type | Method and Description |
|---|---|
void |
Application.setUser(User user)
Set
Application.user. |
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<User> |
Servlet.user
A
ThreadLocal field used to store the User object that represents the currently
logged in user. |
| Modifier and Type | Field and Description |
|---|---|
protected User |
Application.user
The value object that represents the user currently logged on to the
application.
|
| Modifier and Type | Method and Description |
|---|---|
User |
Application.getUser()
Returns
Application.user. |
| Modifier and Type | Method and Description |
|---|---|
void |
Application.setUser(User user)
Set
Application.user. |
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<User> |
Servlet.user
A
ThreadLocal field used to store the User object that represents the currently
logged in user. |