Package org.apache.archiva.redback.rbac
Class RBACObjectAssertions
- java.lang.Object
-
- org.apache.archiva.redback.rbac.RBACObjectAssertions
-
public class RBACObjectAssertions extends Object
RBACObjectAssertions- Author:
- Joakim Erdfelt
-
-
Constructor Summary
Constructors Constructor Description RBACObjectAssertions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertValid(String scope, Operation operation)
static void
assertValid(String scope, Permission permission)
static void
assertValid(String scope, Resource resource)
static void
assertValid(String scope, Role role)
static void
assertValid(String scope, UserAssignment assignment)
static void
assertValid(Operation operation)
static void
assertValid(Permission permission)
static void
assertValid(Resource resource)
static void
assertValid(Role role)
static void
assertValid(UserAssignment assignment)
-
-
-
Constructor Detail
-
RBACObjectAssertions
public RBACObjectAssertions()
-
-
Method Detail
-
assertValid
public static void assertValid(Role role) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(String scope, Role role) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(Permission permission) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(String scope, Permission permission) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(Operation operation) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(String scope, Operation operation) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(Resource resource) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(String scope, Resource resource) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(UserAssignment assignment) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
assertValid
public static void assertValid(String scope, UserAssignment assignment) throws RbacObjectInvalidException
- Throws:
RbacObjectInvalidException
-
-