Class Security.Operation
java.lang.Object
de.businesscode.bcdui.subjectsettings.config.Security.Operation
- Enclosing class:
- Security
Java class for anonymous complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="permission" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()the name of operation to execute under security restrictions.List of permissions required for this operation, these are checked against permission list configured by shiro implementation.voidSets the value of the name property.voidsetPermission(String value) Sets the value of the permission property.
-
Field Details
-
name
the name of operation to execute under security restrictions. This depends on the implementation of this security context. -
permission
List of permissions required for this operation, these are checked against permission list configured by shiro implementation. The ACL is inclusive, means that all defined permissions are required to execute this operation. The list may be empty, effectively disengaging security policy. Example: userAdmin admin:write admin:create
-
-
Constructor Details
-
Operation
public Operation()
-
-
Method Details
-
getName
the name of operation to execute under security restrictions. This depends on the implementation of this security context.- Returns:
- possible object is
String
-
setName
Sets the value of the name property. -
getPermission
List of permissions required for this operation, these are checked against permission list configured by shiro implementation. The ACL is inclusive, means that all defined permissions are required to execute this operation. The list may be empty, effectively disengaging security policy. Example: userAdmin admin:write admin:create- Returns:
- possible object is
String
-
setPermission
Sets the value of the permission property.- Parameters:
value- allowed object isString- See Also:
-