SecurityIdentity@Deprecated public final class Caller extends Object
| Modifier and Type | Method and Description |
|---|---|
static Caller |
createCaller(org.wildfly.security.auth.server.SecurityIdentity securityIdentity)
Deprecated.
|
Set<String> |
getAssociatedGroups()
Deprecated.
This method returns a
Set of groups loaded for the user during the authentication step. |
Set<String> |
getAssociatedRoles()
Deprecated.
This method returns the set of roles already associated with the caller.
|
String |
getName()
Deprecated.
Obtain the name of the caller, most likely a user but could also be a remote process.
|
String |
getRealm()
Deprecated.
Obtain the realm used for authentication.
|
org.wildfly.security.auth.server.SecurityIdentity |
getSecurityIdentity()
Deprecated.
Obtain the
SecurityIdentity to create this Caller. |
Subject |
getSubject()
Deprecated.
Obtain the
Subject used to create this caller. |
boolean |
hasSecurityIdentity()
Deprecated.
Check if this
Caller has a SecurityIdentity without needing to access it. |
boolean |
hasSubject()
Deprecated.
|
public static Caller createCaller(org.wildfly.security.auth.server.SecurityIdentity securityIdentity)
public String getName()
public String getRealm()
public Set<String> getAssociatedGroups()
Set of groups loaded for the user during the authentication step.
Note: Groups are also assumed to be specific to the realm.public Set<String> getAssociatedRoles()
Set of associated roles or an empty set if none.public boolean hasSubject()
public Subject getSubject()
Subject used to create this caller.
This method will always return null as this is now backed by a SecurityIdentity this method remains
however for binary compatibility.Subject used to create this caller.public boolean hasSecurityIdentity()
Caller has a SecurityIdentity without needing to access it.true if this Caller has a SecurityIdentity.Copyright © 2020 JBoss by Red Hat. All rights reserved.