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 RightRight. ADMINThe Admin access right.static RightRight. COMMENTThe comment access right.static RightRight. CREATE_WIKIThe creation of a Wiki right.static RightRight. CREATORImply rights provided to creator of a document.static RightRight. DELETEThe delete access right.static RightRight. EDITThe edit access right.static RightRight. ILLEGALIllegal value.static RightRight. LOGINThe login access right.static RightRight. PROGRAMThe program access right.static RightRight. REGISTERThe register access right.static RightRight. SCRIPTThe script access right.static RightRight. VIEWThe view access right.Methods in org.xwiki.security.authorization that return Right Modifier and Type Method Description static RightRight. get(int ordinal)Retrieve a right based on its ordinal.RightAuthorizationManager. register(RightDescription rightDescription)Register a new customRight.default RightAuthorizationManager. register(RightDescription rightDescription, Set<Right> impliedByRights)Register a new customRightand add it as an implied right to the given set of rights.RightDefaultAuthorizationManager. register(RightDescription rightDescription)RightDefaultAuthorizationManager. register(RightDescription rightDescription, Set<Right> impliedByRights)static RightRight. 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 booleanRightSet. add(Right right)voidAuthorizationManager. checkAccess(Right right, DocumentReference userReference, EntityReference entityReference)Check if the user identified byuserReferencehas the access identified byrighton the entity identified byentityReference.voidContextualAuthorizationManager. checkAccess(Right right)Check if access identified byrighton the current entity is allowed in the current context.voidContextualAuthorizationManager. checkAccess(Right right, EntityReference entityReference)Check if access identified byrighton the given entity is allowed in the current context.voidDefaultAuthorizationManager. checkAccess(Right right, DocumentReference userReference, EntityReference entityReference)intRight. compareTo(Right other)RuleStateSecurityAccess. get(Right right)Return the rule state of a givenRight.booleanAuthorizationManager. hasAccess(Right right, DocumentReference userReference, EntityReference entityReference)Verifies if the user identified byuserReferencehas the access identified byrighton the entity identified byentityReference.booleanContextualAuthorizationManager. hasAccess(Right right)Verifies if access identified byrighton the current entity would be allowed in the current context.booleanContextualAuthorizationManager. hasAccess(Right right, EntityReference entityReference)Verifies if access identified byrighton the given entity would be allowed in the current context.booleanDefaultAuthorizationManager. hasAccess(Right right, DocumentReference userReference, EntityReference entityReference)protected voidDefaultAuthorizationManager. logDeny(DocumentReference user, EntityReference entity, Right right, String info)Log denied access conclusion.booleanSecurityRule. match(Right right)Check if this rule match the given right.VRightMap. put(Right right, V value)default voidAuthorizationManager. unregister(Right right)Unregister the given customRight.voidDefaultAuthorizationManager. unregister(Right right)Method parameters in org.xwiki.security.authorization with type arguments of type Right Modifier and Type Method Description booleanRightSet. addAll(Collection<? extends Right> rights)voidRightMap. putAll(Map<? extends Right,? extends V> map)default RightAuthorizationManager. register(RightDescription rightDescription, Set<Right> impliedByRights)Register a new customRightand add it as an implied right to the given set of rights.RightDefaultAuthorizationManager. 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.
-