public interface WebCenterSecurityContextSupport
Modifier and Type | Method and Description |
---|---|
boolean |
isCurrentUser(java.lang.String userName)
Checks if current user name matches the one specified.
|
boolean |
isUserInAppRole(java.lang.String appRoleName)
Checks if current user is in application role.
|
boolean |
isUserInGroup(java.lang.String groupName)
Checks if the current user is a member of the specified enterprise group.
|
boolean |
isUserInScopedRole(java.lang.String scopedAppRoleName)
Checks if current user is in group space role.
|
boolean isUserInScopedRole(java.lang.String scopedAppRoleName)
#{WCSecurityContext.userInScopedRole['Moderator']}
scopedAppRoleName
- Group Space role name in the current scopeboolean isUserInGroup(java.lang.String groupName)
#{WCSecurityContext.userInGroup['Administrators']}
groupName
- enterprise group nameboolean isUserInAppRole(java.lang.String appRoleName)
#{WCSecurityContext.userInAppRole['SiteResourceAdmin']}
appRoleName
- application role nameboolean isCurrentUser(java.lang.String userName)
#{WCSecurityContext.currentUser['weblogic']}
userName
- user name to check against