|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserInfo
Interface for Factory WebApp User Info retrieval. The engine has no knowledge of where users come from, and relies on the AppServers to support flexible/extensible user registry integration. But, WebApp Modellers would like a common way to retrieve user information (eg, username) no matter where it comes from. This interface allows custom handlers to be written which may obtain any number of user attributes from an external user registry. A WebApp model developer gets an instance of one of these handlers via public UserInfo WebAppAccess.getUserInfo(); Note - this is the application developers version of the UserInfo handler interface. Handler implementors must implement UserInfoHandler.java
Field Summary | |
---|---|
static java.lang.String |
USER_ID
Constant for the user id attribute that all handlers must support |
Method Summary | |
---|---|
java.lang.Object |
getAttribute(java.lang.String attributeName)
getAttribute Return the attribute value for the specified attribute name. |
java.util.Iterator |
getKnownAttributeNames()
getKnownAttributeNames Return an iterator over a list of strings representing the known (to the particular custom instance of the handler) attribute types/names to be used with getAttribute(String attributeName) below. |
java.lang.String |
getUserID()
getUserID Get a String representation of the userID/username - the primary identity key that the caller is authenticated with. |
Field Detail |
---|
static final java.lang.String USER_ID
Method Detail |
---|
java.lang.Object getAttribute(java.lang.String attributeName)
attributeName
- attribute name (eg, "username")
java.util.Iterator getKnownAttributeNames()
java.lang.String getUserID()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |