Modifier and Type | Field and Description |
---|---|
static SimplePrincipal |
EVERYONE |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getName() |
int |
hashCode() |
static SimplePrincipal |
newInstance(String name)
Creates new instance of the principal.
|
public static final SimplePrincipal EVERYONE
public static SimplePrincipal newInstance(String name)
name
- the name of the user.public boolean equals(Object other)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.