|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserAuthorizer
This interface defines how event handlers can query for authentication information. The methods include determining whether or not a password matches and whether or not this user possesses a named capability.
Method Summary | |
---|---|
boolean |
isAuthenticated(java.lang.String userName,
java.lang.String password)
Determine if this user is both known to the directory and if the password matches what is in the directory. |
boolean |
isCapable(java.lang.String userName,
java.lang.String capability)
Determine if this user has the named capability. |
Method Detail |
---|
boolean isAuthenticated(java.lang.String userName, java.lang.String password)
userName
- user name suppliedpassword
- password supplied
boolean isCapable(java.lang.String userName, java.lang.String capability)
userName
- user name suppliedcapability
- capability desired
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |