public class StandardSubject extends JaasSubject
Modifier | Constructor | Description |
---|---|---|
protected |
StandardSubject() |
Modifier and Type | Method | Description |
---|---|---|
Subject |
getSubject() |
SPI method.
|
Object |
runAs(Subject subject,
PrivilegedAction action) |
SPI method.
|
Object |
runAs(Subject subject,
PrivilegedExceptionAction action) |
SPI method.
|
doAs, doAs, getCurrentSubject, getJaasSubject
public Subject getSubject()
JaasSubject
getSubject
in class JaasSubject
public Object runAs(Subject subject, PrivilegedAction action)
JaasSubject
runAs
in class JaasSubject
public Object runAs(Subject subject, PrivilegedExceptionAction action) throws PrivilegedActionException
JaasSubject
runAs
in class JaasSubject
PrivilegedActionException
Copyright © 2018. All rights reserved.