public class GuestPrincipal extends Object implements Principal, Serializable
Subject
as guestModifier and Type | Field and Description |
---|---|
static String |
GUEST_NAME_PREFIX |
static String |
NAME_DELIMITER |
Constructor and Description |
---|
GuestPrincipal(String address) |
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Returns the ip address associated with this guest principal
|
String |
getName() |
static String |
parseAddressFromName(String fullName)
Parses the ip address out of a guest principal name that has the format Guest@127.0.0.1
|
String |
toString() |
public static final String GUEST_NAME_PREFIX
public static final String NAME_DELIMITER
public GuestPrincipal(String address)
This work is licensed under a Creative Commons Attribution 4.0 International License.