|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Classes that implements this interface provide the base for authentication of a user. By extending this base class, developers can implement the mechanism to retrieve user and group information from a specific user store or security realm. For example, a custom implementation of this factory can authentication to LDAP to retrieve user information.
| Method Summary | |
User |
getAnonymousAuthentication()
Gets the anonymous authentication. |
User |
getUserAuthentication(UserInfo userInfo)
Gets the user authentication from the given user info. |
java.util.List |
groups()
Gets the list of groups (optional operation). |
java.util.List |
users()
Gets the list of users (optional operation). |
| Method Detail |
public User getUserAuthentication(UserInfo userInfo)
throws InvalidAuthenticationException
userInfo - the user informationnull if user can not be determinedInvalidAuthenticationException - occurs if the user authentication cannot be validated (ie. the user exists but cannot be authenticated with the specified user information credentials)public User getAnonymousAuthentication()
null if none can be determined
public java.util.List users()
throws java.lang.UnsupportedOperationException
User objectsjava.lang.UnsupportedOperationException - obtaining a list of users is not supported by this authentication factory
public java.util.List groups()
throws java.lang.UnsupportedOperationException
Group objectsjava.lang.UnsupportedOperationException - obtaining a list of groups is not supported by this authentication factory
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||