PermissionRule

public class PermissionRule

Constructors

PermissionRule

public PermissionRule(String grant, String priority, String permission)

PermissionRule

public PermissionRule(boolean grant, boolean priority, String permission)

Methods

equals

public boolean equals(Object obj)

getMap

public Map<String, String> getMap()

getPermission

public String getPermission()

getPermission

public Permission getPermission(String realm, String username)

getPermission

public Permission getPermission(Subject subject)

hashCode

public int hashCode()

isGrant

public boolean isGrant()

isPriority

public boolean isPriority()

parse

public static PermissionRule parse(Map<String, String> rule)

parse

public static PermissionRule parse(Element e)

toElement

public Element toElement()

toString

public String toString()