public class ElytronSecurityContext extends Object implements org.jboss.jca.core.spi.security.SecurityContext
SecurityContext implementation.| Constructor and Description |
|---|
ElytronSecurityContext() |
| Modifier and Type | Method and Description |
|---|---|
Subject |
getAuthenticatedSubject() |
protected <T> Set<T> |
getPrivateCredentials(Class<T> credentialClass) |
String[] |
getRoles() |
void |
runWork(Runnable work)
Runs the work contained in as an authenticated Identity.
|
void |
setAuthenticatedSubject(Subject subject) |
public Subject getAuthenticatedSubject()
getAuthenticatedSubject in interface org.jboss.jca.core.spi.security.SecurityContextpublic void setAuthenticatedSubject(Subject subject)
setAuthenticatedSubject in interface org.jboss.jca.core.spi.security.SecurityContextpublic String[] getRoles()
getRoles in interface org.jboss.jca.core.spi.security.SecurityContextpublic void runWork(Runnable work)
work - executes the workCopyright © 2023 JBoss by Red Hat. All rights reserved.