Novell exteNd
Director 5.2 API

com.sssw.fw.security.api
Interface EbiRoleInfo

All Superinterfaces:
Cloneable, EbiElement, EbiFrameworkElement, Serializable

public interface EbiRoleInfo
extends EbiFrameworkElement

This provides an interface for style info from PortalStyles table.


Field Summary
static String ALL_USERS
          Indicates all users have acces to a given role
static String EL_SECURITY_ROLE
          role element type
 
Method Summary
 String getRoleDescription()
          Returns the description
 String getRoleDisplayName()
          Returns the display name
 String[] getRoleGroupList()
          Returns the lst of groups in this role
 String getRoleName()
          Returns the role's name
 String[] getRoleUserList()
          Returns the list of users in this role
 boolean isUserInRole(String userName)
          Returns true if the user is in the role.
 
Methods implemented from interface com.sssw.fw.api.EbiFrameworkElement
getElementUUID, getLastModified, getLastModifiedBy, isEqualTo, isReadOnly, resetReadOnly, setLastModified, setLastModifiedBy, setReadOnly
 
Methods implemented from interface com.sssw.fw.api.EbiElement
getType
 

Field Detail

EL_SECURITY_ROLE

public static final String EL_SECURITY_ROLE
role element type

ALL_USERS

public static final String ALL_USERS
Indicates all users have acces to a given role
Method Detail

getRoleName

public String getRoleName()
Returns the role's name

getRoleUserList

public String[] getRoleUserList()
Returns the list of users in this role

getRoleGroupList

public String[] getRoleGroupList()
Returns the lst of groups in this role

getRoleDisplayName

public String getRoleDisplayName()
Returns the display name

getRoleDescription

public String getRoleDescription()
Returns the description

isUserInRole

public boolean isUserInRole(String userName)
Returns true if the user is in the role. This will not check for groups so if a user is in a group but the users is not added directly to the role, this will retrun false. Use EbiSecurityManager.isUserInRole() in order to do a more comprehensive check.

Novell exteNd
Director 5.2 API