public class SecurityLevelPath
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static SecurityLevelPath |
AUTHENTICATED
Path to the "Authenticated" Security level
|
static SecurityLevelPath |
ROLES
Path to the "/Authenticated/Roles" Security level
|
static SecurityLevelPath |
SECURITY_ZONES
Path to the "/SecurityZones" Security level
|
Modifier and Type | Method and Description |
---|---|
SecurityLevelPath |
append(java.lang.String part)
Append a new security level name (path part) to this SecurityLevelPath
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
format() |
static SecurityLevelPath |
fromRootLevel(java.lang.String rootLevelName)
Parses the given root security level name into a SecurityLevelPath with only the given root part of the path
|
int |
hashCode() |
static SecurityLevelPath |
parse(java.lang.String path)
Parse the given String into a SecurityLevelPath
|
java.lang.String[] |
parts() |
java.lang.String[] |
partsSansRoot() |
SecurityLevelPath |
prepend(java.lang.String part)
Append a new security level name (path part) to the beginning of this SecurityLevelPath
|
java.lang.String |
root() |
java.lang.String |
toString() |
public static final SecurityLevelPath AUTHENTICATED
public static final SecurityLevelPath ROLES
public static final SecurityLevelPath SECURITY_ZONES
@Nonnull public static SecurityLevelPath parse(@Nonnull java.lang.String path)
path
- the String to parse into a SecurityLevelPathjava.lang.IllegalArgumentException
- if the given String does not conform to the expected format@Nonnull public static SecurityLevelPath fromRootLevel(@Nonnull java.lang.String rootLevelName)
rootLevelName
- the security level name of the rootjava.lang.IllegalArgumentException
- if the given String does not conform to the expected format@Nonnull public java.lang.String format()
@Nonnull public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Nonnull public java.lang.String[] parts()
@Nonnull public java.lang.String[] partsSansRoot()
@Nonnull public SecurityLevelPath append(@Nonnull java.lang.String part)
part
- the path part to append to the end of this pathjava.lang.IllegalArgumentException
- if the new security level path part does not conform to the expected format@Nonnull public SecurityLevelPath prepend(@Nonnull java.lang.String part)
part
- the path part to prepend to the beginning of this pathjava.lang.IllegalArgumentException
- if the new security level path part does not conform to the expected format@Nonnull public java.lang.String root()