| |
|
| org.jamwiki.model.Role
Role | public class Role extends GrantedAuthorityImpl (Code) | | Provides an object representing a Wiki role and implementing the Acegi
GrantedAuthority interface.
|
Field Summary | |
final public static Role | ROLE_ADMIN ROLE_ADMIN gives permission to perform wiki maintenance tasks not
available to normal users. | final public static Role | ROLE_ANONYMOUS ROLE_ANONYMOUS is not stored in the database but is instead
automatically assigned to all non-logged in users. | final public static Role | ROLE_EDIT_EXISTING | final public static Role | ROLE_EDIT_NEW | final public static Role | ROLE_EMBEDDED ROLE_EMBEDDED is meant for use with installations that perform
authentication and user management in an external system, such as LDAP. | final public static Role | ROLE_MOVE | final public static Role | ROLE_NO_ACCOUNT ROLE_NO_ACCOUNT is meant for use with installations that do not allow
user account management from within JAMWiki. | final public static Role | ROLE_SYSADMIN ROLE_SYSADMIN provides the ability to change system settings. | final public static Role | ROLE_TRANSLATE | final public static Role | ROLE_UPLOAD | final public static Role | ROLE_USER ROLE_USER is not stored in the database but is instead automatically
assigned to all logged in users. | final public static Role | ROLE_VIEW |
ROLE_ADMIN | final public static Role ROLE_ADMIN(Code) | | ROLE_ADMIN gives permission to perform wiki maintenance tasks not
available to normal users. It does not allow the ability to change
system settings.
|
ROLE_ANONYMOUS | final public static Role ROLE_ANONYMOUS(Code) | | ROLE_ANONYMOUS is not stored in the database but is instead
automatically assigned to all non-logged in users.
|
ROLE_EDIT_EXISTING | final public static Role ROLE_EDIT_EXISTING(Code) | | |
ROLE_EDIT_NEW | final public static Role ROLE_EDIT_NEW(Code) | | |
ROLE_EMBEDDED | final public static Role ROLE_EMBEDDED(Code) | | ROLE_EMBEDDED is meant for use with installations that perform
authentication and user management in an external system, such as LDAP.
This role is not created during JAMWiki setup, and is not available
from the Special:Roles interface; instead it should be assigned by the
LDAP or other system that performs user authentication.
|
ROLE_NO_ACCOUNT | final public static Role ROLE_NO_ACCOUNT(Code) | | ROLE_NO_ACCOUNT is meant for use with installations that do not allow
user account management from within JAMWiki. This role is not created
during JAMWiki setup, and is not available from the Special:Roles
interface; instead it should be assigned by the LDAP or other system
that allows account management.
|
ROLE_SYSADMIN | final public static Role ROLE_SYSADMIN(Code) | | ROLE_SYSADMIN provides the ability to change system settings.
|
ROLE_TRANSLATE | final public static Role ROLE_TRANSLATE(Code) | | |
ROLE_UPLOAD | final public static Role ROLE_UPLOAD(Code) | | |
ROLE_USER | final public static Role ROLE_USER(Code) | | ROLE_USER is not stored in the database but is instead automatically
assigned to all logged in users.
|
equals | public boolean equals(Role role)(Code) | | Two roles are equal if the role names are the same.
|
setDescription | public void setDescription(String description)(Code) | | |
|
|
|