|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Right | |
|---|---|
| org.xwiki.security.authorization | |
| Uses of Right in org.xwiki.security.authorization |
|---|
| Fields in org.xwiki.security.authorization declared as Right | |
|---|---|
static Right |
Right.ADMIN
The Admin access right. |
static Right |
Right.COMMENT
The comment access right. |
static Right |
Right.CREATE_WIKI
The creation of a Wiki right. |
static Right |
Right.CREATOR
Imply rights provided to creator of a document. |
static Right |
Right.DELETE
The delete access right. |
static Right |
Right.EDIT
The edit access right. |
static Right |
Right.ILLEGAL
Illegal value. |
static Right |
Right.LOGIN
The login access right. |
static Right |
Right.PROGRAM
The program access right. |
static Right |
Right.REGISTER
The register access right. |
static Right |
Right.VIEW
The view access right. |
| Methods in org.xwiki.security.authorization that return Right | |
|---|---|
static Right |
Right.get(int ordinal)
Retrieve a right based on its ordinal. |
Right |
DefaultAuthorizationManager.register(RightDescription rightDescription)
|
Right |
AuthorizationManager.register(RightDescription rightDescription)
Register a new custom Right. |
static Right |
Right.toRight(String string)
Convert a string to a right. |
| Methods in org.xwiki.security.authorization that return types with arguments of type Right | |
|---|---|
Set<Map.Entry<Right,V>> |
RightMap.entrySet()
|
static Set<Right> |
Right.getEnabledRights(EntityType entityType)
Returns the list of rights available for a given entity type. |
Set<Right> |
RightDescription.getImpliedRights()
|
Set<Right> |
Right.getImpliedRights()
|
Iterator<Right> |
RightSet.iterator()
|
Set<Right> |
RightMap.keySet()
|
static List<Right> |
Right.values()
|
| Methods in org.xwiki.security.authorization with parameters of type Right | |
|---|---|
boolean |
RightSet.add(Right right)
|
void |
DefaultAuthorizationManager.checkAccess(Right right,
DocumentReference userReference,
EntityReference entityReference)
|
void |
AuthorizationManager.checkAccess(Right right,
DocumentReference userReference,
EntityReference entityReference)
Check if the user identified by userReference has the access identified by right on the
entity identified by entityReference. |
int |
Right.compareTo(Right other)
|
RuleState |
SecurityAccess.get(Right right)
Return the rule state of a given Right. |
boolean |
DefaultAuthorizationManager.hasAccess(Right right,
DocumentReference userReference,
EntityReference entityReference)
|
boolean |
AuthorizationManager.hasAccess(Right right,
DocumentReference userReference,
EntityReference entityReference)
Verifies if the user identified by userReference has the access identified by right on the
entity identified by entityReference. |
protected void |
DefaultAuthorizationManager.logDeny(DocumentReference user,
EntityReference entity,
Right right,
String info)
Log denied access conclusion. |
boolean |
SecurityRule.match(Right right)
Check if this rule match the given right. |
V |
RightMap.put(Right right,
V value)
|
| Method parameters in org.xwiki.security.authorization with type arguments of type Right | |
|---|---|
boolean |
RightSet.addAll(Collection<? extends Right> rights)
|
void |
RightMap.putAll(Map<? extends Right,? extends V> map)
|
| Constructors in org.xwiki.security.authorization with parameters of type Right | |
|---|---|
AccessDeniedException(Right right,
DocumentReference userReference,
EntityReference entityReference)
|
|
AccessDeniedException(Right right,
DocumentReference userReference,
EntityReference entityReference,
Throwable t)
|
|
AuthorizationException(Right right,
DocumentReference userReference,
EntityReference entityReference,
String message)
|
|
AuthorizationException(Right right,
DocumentReference userReference,
EntityReference entityReference,
String message,
Throwable cause)
|
|
RightSet(Right... rights)
Create a new initialized set. |
|
| Constructor parameters in org.xwiki.security.authorization with type arguments of type Right | |
|---|---|
RightSet(Collection<? extends Right> rights)
Create a new initialized set. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||