public class IlrDefaultIsUserInRoleCallback extends java.lang.Object implements IlrIsUserInRoleCallback
| Modifier and Type | Field and Description |
|---|---|
protected IlrSession |
session |
CHANGE_ACTIVITY_CONTROLLER_CALLBACK, CONTROLLER_CALLBACK, ISUSERINROLE_CALLBACK, RELEASE_CONTROLLER_CALLBACK, VALIDATION_ACTIVITY_CONTROLLER_CALLBACK| Constructor and Description |
|---|
IlrDefaultIsUserInRoleCallback() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUserInRole(java.lang.String role)
By default, looks in the J2EE roles of the user.
|
void |
setSession(IlrSession session)
Sets the session for this callback.
|
protected IlrSession session
public void setSession(IlrSession session)
IlrSessionCallbackThis method is called just after a user connects to a session.
setSession in interface IlrSessionCallbacksession - The session.IlrSessionFactory.connect(String, String, String, String),
Overviewpublic boolean isUserInRole(java.lang.String role)
isUserInRole in interface IlrIsUserInRoleCallbackrole - The user role.javax.servlet.http.HttpServletRequest#isUserInRole(String)© Copyright IBM Corp. 1987, 2017