Class GetPrivilegesRequest

  • All Implemented Interfaces:
    Validatable

    public final class GetPrivilegesRequest
    extends Object
    implements Validatable
    Request object to get application privilege(s)
    • Method Detail

      • getApplicationPrivileges

        public static GetPrivilegesRequest getApplicationPrivileges​(String applicationName)
        Constructs a GetPrivilegesRequest to request all the privileges defined for the specified applicationName
        Parameters:
        applicationName - the name of the application for which the privileges are requested
      • getApplicationName

        public String getApplicationName()
        Returns:
        the name of the application for which to return certain privileges
      • getPrivilegeNames

        public String[] getPrivilegeNames()
        Returns:
        an array of privilege names to return or null if all should be returned
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object