Class ExpressionPermissionProfile
- java.lang.Object
-
- com.evolveum.midpoint.schema.expression.ExpressionPermissionProfile
-
- All Implemented Interfaces:
Serializable
public class ExpressionPermissionProfile extends Object implements Serializable
Compiled expression permission profile. Compiled from ExpressionPermissionProfileType.- Author:
- Radovan Semancik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExpressionPermissionProfile(String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClassAccessRule(Class<?> clazz, AccessDecision decision)
void
addClassAccessRule(Class<?> clazz, String methodName, AccessDecision decision)
Used to easily set up access for built-in class access rules (convenience).void
addClassAccessRule(String className, String methodName, AccessDecision decision)
Used to easily set up access for built-in class access rules.AccessDecision
decideClassAccess(String className, String methodName)
List<ExpressionPermissionClassProfileType>
getClassProfiles()
AccessDecision
getDecision()
String
getIdentifier()
List<ExpressionPermissionPackageProfileType>
getPackageProfiles()
boolean
hasRestrictions()
void
setDecision(AccessDecision decision)
-
-
-
Constructor Detail
-
ExpressionPermissionProfile
public ExpressionPermissionProfile(String identifier)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
-
getDecision
public AccessDecision getDecision()
-
setDecision
public void setDecision(AccessDecision decision)
-
getPackageProfiles
public List<ExpressionPermissionPackageProfileType> getPackageProfiles()
-
getClassProfiles
public List<ExpressionPermissionClassProfileType> getClassProfiles()
-
hasRestrictions
public boolean hasRestrictions()
-
decideClassAccess
public AccessDecision decideClassAccess(String className, String methodName)
-
addClassAccessRule
public void addClassAccessRule(String className, String methodName, AccessDecision decision)
Used to easily set up access for built-in class access rules.
-
addClassAccessRule
public void addClassAccessRule(Class<?> clazz, String methodName, AccessDecision decision)
Used to easily set up access for built-in class access rules (convenience).
-
addClassAccessRule
public void addClassAccessRule(Class<?> clazz, AccessDecision decision)
-
-