public class MillenniumDomainPrincipal extends Object implements Principal, Serializable
| Constructor and Description |
|---|
MillenniumDomainPrincipal(String username,
String domainName)
Create a principal.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDomainName()
Get the name of the Millennium domain.
|
String |
getName() |
String |
getUsername()
Get the username.
|
public MillenniumDomainPrincipal(String username, String domainName)
username - The username of the Millennium user.domainName - The name of the Millennium domain to which the user belongs.IllegalArgumentException - If either of the given objects are blank.NullPointerException - If either of the given objects are null.Copyright © 2019. All rights reserved.