|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserCredentials
UserCredentials contain information about a user attempting to access data or perform an operation. An instance is created on each access request and the validate method called.
If user caching is enabled the validate method will check its cache for a matching username & password pair. If present, the validate method returns true. If user caching is not enabled the validate method will call to the configured JAAS LoginModules to authenticate the user.
An instance of UserCredentials is passed to implementations of IScenarioAuthority to provide the identiy of the user.
Method Summary | |
---|---|
java.lang.String |
getPassword()
Get the password. |
javax.security.auth.Subject |
getSubject()
Get the javax security subject for this user. |
java.lang.String |
getUsername()
Get the username |
boolean |
validate()
Validate the user credentials |
Method Detail |
---|
java.lang.String getUsername()
java.lang.String getPassword()
javax.security.auth.Subject getSubject()
boolean validate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |