public class NameAndAuthority extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
authority
The name of the authority which grants access.
|
static String |
DELIM_AUTHORITY |
static String |
DELIM_HOST |
String |
domain
The domain they are logging into.
|
String |
name
The username part.
|
| Constructor and Description |
|---|
NameAndAuthority(String name) |
NameAndAuthority(String name,
String authority,
String domain) |
| Modifier and Type | Method and Description |
|---|---|
static NameAndAuthority |
parse(String user)
Valid forms:
joe - domain and authority are null
joe#www.joe.com - domain and authority are 'www.joe.com'
joe#admin.joe.com:www.joes-client.com - authority is 'admin.joe.com', domain is 'www.joes-client.com'
|
String |
toMilton() |
public static final String DELIM_HOST
public static final String DELIM_AUTHORITY
public final String name
public final String domain
public final String authority
public NameAndAuthority(String name)
public static NameAndAuthority parse(String user)
user - - a string in one of the above formspublic String toMilton()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.