org.knopflerfish.service.um.useradmin
public interface PasswdSession
| Modifier and Type | Method and Description |
|---|---|
User |
authenticate()
Attempts to authenticate.
|
ContextualAuthorization |
getAuthorization()
Attempts to authenticate and authorize the user.
|
void |
setPassword(java.lang.String password)
Set the user's password.
|
void |
setUsername(java.lang.String username)
Set the user's user name.
|
void setUsername(java.lang.String username)
username - the usernamevoid setPassword(java.lang.String password)
password - the passwordUser authenticate() throws java.lang.IllegalStateException
getAuthorization().java.lang.IllegalStateException - if called before a user name and a password have been
supplied or if the user admin service is no longer
available.ContextualAuthorization getAuthorization() throws java.lang.IllegalStateException
java.lang.IllegalStateException - if called before a user name and a password have been
supplied or if the user admin service is no longer
available.