Class Permission


  • public class Permission
    extends AbstractDto
    XL Deploy supports a role-based access control scheme to ensure the security of your middleware and deployments. The security mechanism is based on the concepts of roles and permissions. A (security) role is a group of entities that can be authenticated and that can be assigned permissions over resources in XL Deploy. These rights can be either global (that is, they apply to all of XL Deploy, such as login permission) or relevant for a particular CI or set of CIs (for instance, the permission to read certain CIs in the repository). The security system uses the same permissions whether the system is accessed via the GUI or the CLI.
    • Constructor Summary

      Constructors 
      Constructor Description
      Permission()  
      Permission​(java.lang.String permissionName, java.lang.String level, java.lang.String root)  
    • Constructor Detail

      • Permission

        public Permission()
      • Permission

        public Permission​(java.lang.String permissionName,
                          java.lang.String level,
                          java.lang.String root)
    • Method Detail

      • getPermissionName

        public java.lang.String getPermissionName()
        Returns:
        The name of the permission.
      • setPermissionName

        public void setPermissionName​(java.lang.String permissionName)
        Parameters:
        permissionName - The name of the permission.
      • getLevel

        public java.lang.String getLevel()
        Returns:
        Whether this permission is global permissions, or applicable on a CI level. Possible values: GLOBAL or CI.
      • setLevel

        public void setLevel​(java.lang.String level)
        Parameters:
        level - Whether this permission is global permissions, or applicable on a CI level. Possible values: GLOBAL or CI.
      • getRoot

        public java.lang.String getRoot()
        Returns:
        If set, the root node in the repository this permission is relevant for. Possible values: Applications, Environments or Infrastructure.
      • setRoot

        public void setRoot​(java.lang.String root)
        Parameters:
        root - If set, the root node in the repository this permission is relevant for. Possible values: Applications, Environments or Infrastructure.