public class SimpleIdentity extends Object implements Identity
Constructor and Description |
---|
SimpleIdentity(String name) |
SimpleIdentity(String name,
Role role) |
SimpleIdentity(String name,
String roleName) |
Modifier and Type | Method and Description |
---|---|
Group |
asGroup() |
Principal |
asPrincipal() |
boolean |
equals(Object obj) |
String |
getName() |
Role |
getRole() |
int |
hashCode() |
public SimpleIdentity(String name)
public Principal asPrincipal()
asPrincipal
in interface Identity
Copyright © 2020 JBoss by Red Hat. All rights reserved.