Class AuthorizationConstraintImpl

    • Constructor Detail

      • AuthorizationConstraintImpl

        public AuthorizationConstraintImpl()
        Default constructor that creates an AuthorizationConstraint with no roles.
    • Method Detail

      • addSecurityRole

        public void addSecurityRole​(String roleName)
        Adds a role to the authorization constraint
        Parameters:
        the - role name to be added
      • removeSecurityRole

        public void removeSecurityRole​(SecurityRole securityRole)
        Removes the given role from the autrhorization constraint.
        Parameters:
        the - role to be removed.
      • print

        public void print​(StringBuilder toStringBuilder)
        Prints a formatted representation of this object.
        Overrides:
        print in class Descriptor