Uses of Class
org.xwiki.security.authorization.Right
-
Packages that use Right Package Description org.xwiki.security.authorization -
-
Uses of Right in org.xwiki.security.authorization
Fields in org.xwiki.security.authorization declared as Right Modifier and Type Field Description 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. SCRIPT
The script access right.static Right
Right. VIEW
The view access right.Methods in org.xwiki.security.authorization that return Right Modifier and Type Method Description static Right
Right. get(int ordinal)
Retrieve a right based on its ordinal.Right
AuthorizationManager. register(RightDescription rightDescription)
Register a new customRight
.default Right
AuthorizationManager. register(RightDescription rightDescription, Set<Right> impliedByRights)
Register a new customRight
and add it as an implied right to the given set of rights.Right
DefaultAuthorizationManager. register(RightDescription rightDescription)
Right
DefaultAuthorizationManager. register(RightDescription rightDescription, Set<Right> impliedByRights)
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 Modifier and Type Method Description 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>
Right. getImpliedRights()
Set<Right>
RightDescription. getImpliedRights()
static List<Right>
Right. getStandardRights()
Iterator<Right>
RightSet. iterator()
Set<Right>
RightMap. keySet()
static List<Right>
Right. values()
Methods in org.xwiki.security.authorization with parameters of type Right Modifier and Type Method Description boolean
RightSet. add(Right right)
void
AuthorizationManager. checkAccess(Right right, DocumentReference userReference, EntityReference entityReference)
Check if the user identified byuserReference
has the access identified byright
on the entity identified byentityReference
.void
ContextualAuthorizationManager. checkAccess(Right right)
Check if access identified byright
on the current entity is allowed in the current context.void
ContextualAuthorizationManager. checkAccess(Right right, EntityReference entityReference)
Check if access identified byright
on the given entity is allowed in the current context.void
DefaultAuthorizationManager. checkAccess(Right right, DocumentReference userReference, EntityReference entityReference)
int
Right. compareTo(Right other)
RuleState
SecurityAccess. get(Right right)
Return the rule state of a givenRight
.boolean
AuthorizationManager. hasAccess(Right right, DocumentReference userReference, EntityReference entityReference)
Verifies if the user identified byuserReference
has the access identified byright
on the entity identified byentityReference
.boolean
ContextualAuthorizationManager. hasAccess(Right right)
Verifies if access identified byright
on the current entity would be allowed in the current context.boolean
ContextualAuthorizationManager. hasAccess(Right right, EntityReference entityReference)
Verifies if access identified byright
on the given entity would be allowed in the current context.boolean
DefaultAuthorizationManager. hasAccess(Right right, DocumentReference userReference, EntityReference 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)
default void
AuthorizationManager. unregister(Right right)
Unregister the given customRight
.void
DefaultAuthorizationManager. unregister(Right right)
Method parameters in org.xwiki.security.authorization with type arguments of type Right Modifier and Type Method Description boolean
RightSet. addAll(Collection<? extends Right> rights)
void
RightMap. putAll(Map<? extends Right,? extends V> map)
default Right
AuthorizationManager. register(RightDescription rightDescription, Set<Right> impliedByRights)
Register a new customRight
and add it as an implied right to the given set of rights.Right
DefaultAuthorizationManager. register(RightDescription rightDescription, Set<Right> impliedByRights)
Constructors in org.xwiki.security.authorization with parameters of type Right Constructor Description 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 Constructor Description RightSet(Collection<? extends Right> rights)
Create a new initialized set.
-