public interface SecurityContext
Modifier and Type | Method and Description |
---|---|
Subject |
getAuthenticatedSubject()
Get the authenticated subject
|
String[] |
getRoles()
Get the associated role names
|
void |
setAuthenticatedSubject(Subject subject)
Set the authenticated subject
|
Subject getAuthenticatedSubject()
null
if unauthenticatedvoid setAuthenticatedSubject(Subject subject)
subject
- The SubjectString[] getRoles()
null
if noneCopyright © 2021 JBoss by Red Hat. All rights reserved.