public class FunctionalPrivilegeProvider extends BaseFacesSessionBean
Modifier and Type | Field and Description |
---|---|
protected String |
m_privAlias |
protected String |
m_userID |
static int |
READ_RIGHT
bitfield rights indicating READ (from IAccessRight)
|
fExpireWithPageFlow
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
Constructor and Description |
---|
FunctionalPrivilegeProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentUserID() |
String |
getPrivAlias() |
String |
getUserID() |
PrincipalModel |
getUserModel() |
boolean |
isGranted()
Check whether the user has been granted with a functional privilege.
|
protected void |
release()
Override this method to release any resources associated with this session.
|
void |
setPrivAlias(String alias)
Set privilege alias
|
void |
setUserID(String userid)
Set user ID.
|
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
createMethodBinding, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
protected String m_privAlias
protected String m_userID
public static final int READ_RIGHT
IAccessRight
,
Constant Field Valuesprotected void release()
BaseFacesSessionBean
release
in class BaseFacesSessionBean
public String getPrivAlias()
public void setPrivAlias(String alias)
alias
- public String getUserID()
public void setUserID(String userid)
userid
- public boolean isGranted()
public String getCurrentUserID()
public PrincipalModel getUserModel()
PrincipalModel