Class Security.Operation

java.lang.Object
de.businesscode.bcdui.subjectsettings.config.Security.Operation
Enclosing class:
Security

public static class Security.Operation extends Object

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
    Modifier and Type
    Field
    Description
    protected String
    the name of operation to execute under security restrictions.
    protected String
    List of permissions required for this operation, these are checked against permission list configured by shiro implementation.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    void
    setName(String value)
    Sets the value of the name property.
    void
    Sets the value of the permission property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      protected String name
      the name of operation to execute under security restrictions. This depends on the implementation of this security context.
    • permission

      protected String 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

      public String 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

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPermission

      public String 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

      public void setPermission(String value)
      Sets the value of the permission property.
      Parameters:
      value - allowed object is String
      See Also: