public class SubjectInfo extends Object implements Serializable
SecurityContextUtil
,
Serialized FormModifier and Type | Method and Description |
---|---|
void |
addIdentity(Identity id) |
Subject |
getAuthenticatedSubject() |
Set<Identity> |
getIdentities() |
<T> T |
getIdentity(Class<T> clazz) |
RoleGroup |
getRoles() |
void |
removeIdentity(Identity id)
Remove an identity
|
void |
setAuthenticatedSubject(Subject authenticatedSubject) |
void |
setIdentities(Set<Identity> ids) |
void |
setRoles(RoleGroup roles) |
String |
toString() |
public Subject getAuthenticatedSubject()
public void setAuthenticatedSubject(Subject authenticatedSubject)
public RoleGroup getRoles()
public void setRoles(RoleGroup roles)
public void addIdentity(Identity id)
public <T> T getIdentity(Class<T> clazz)
public void removeIdentity(Identity id)
id
- Copyright © 2017 JBoss by Red Hat. All rights reserved.