|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory oracle.apps.fnd.appltest.diagfwk.engine.provider.security.SecurityProvider
public abstract class SecurityProvider
Provider interface for checking security privileges for operations performed by the diagnostics engine.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary | |
---|---|
protected static java.lang.String |
DEFAULT_DIAGNOSTICS_POLICY_STRIPE_NAME
Name of the Diag JPS PolicyContext ID |
Constructor Summary | |
---|---|
SecurityProvider()
|
Method Summary | |
---|---|
abstract javax.security.auth.Subject |
authenticateUser(java.lang.String user,
java.lang.String password)
API to authenticate a user given the user/pw |
abstract void |
checkAccessJMXAPI(javax.security.auth.Subject wlsSubject)
|
abstract java.util.Map<java.lang.String,java.lang.String> |
getAllUserRoles()
|
abstract java.lang.String |
getDiagJPSPolicyContextID()
This is a temporary method to return the JPS PolicyStore security context ID for the stripe containing Diagnostics roles so that we can get application roles in JMX/J2SE contexts. |
abstract java.util.List<java.lang.String> |
getEnterpriseRoleNames()
|
static java.lang.Boolean |
getIsDumpExec()
Returns true if current thread is invoked
via the ODF Diagnostic Dump. |
static java.lang.Boolean |
getIsRemoteInAppExec()
Returns true if current thread is invoked
via the Remote-In-App JMX entry point. |
abstract java.lang.String |
getPillarJPSPolicyContextID()
This is a temporary method to return the JPS PolicyStore security context ID for the current pillar so that we can get application roles in JMX contexts. |
abstract javax.security.auth.Subject |
getSubject()
|
abstract java.lang.String |
getUserGUID()
|
abstract java.lang.String |
getUserName()
|
static SecurityProvider |
instance()
Returns an instance of a Security Provider based on the current configuration settings. |
abstract java.lang.Boolean |
isUserAuthenticated()
|
static void |
setIsDumpExec(java.lang.Boolean pIsDumpExec)
Sets a state on the current thread indicating that diagnostics is being invoked via the ODF Diagnostic Dump. |
static void |
setIsRemoteInAppExec(java.lang.Boolean pIsRemoteInAppExec)
Sets a state on the current thread indicating that diagnostics is being invoked via the Remote-In-App JMX entry point. |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory |
---|
createClassLoader, loadClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String DEFAULT_DIAGNOSTICS_POLICY_STRIPE_NAME
Constructor Detail |
---|
public SecurityProvider()
Method Detail |
---|
public static SecurityProvider instance()
public abstract java.lang.Boolean isUserAuthenticated()
public abstract javax.security.auth.Subject authenticateUser(java.lang.String user, java.lang.String password)
user
- password
-
public abstract javax.security.auth.Subject getSubject()
public abstract java.lang.String getUserName()
public abstract java.lang.String getUserGUID()
public abstract java.lang.String getDiagJPSPolicyContextID()
PolicyContext
.setContextIDpublic abstract java.lang.String getPillarJPSPolicyContextID()
PolicyContext
.setContextIDpublic abstract java.util.Map<java.lang.String,java.lang.String> getAllUserRoles()
public abstract java.util.List<java.lang.String> getEnterpriseRoleNames()
public abstract void checkAccessJMXAPI(javax.security.auth.Subject wlsSubject)
wlsSubject
- current user's WLS subjectpublic static void setIsDumpExec(java.lang.Boolean pIsDumpExec)
pIsDumpExec
- flag to indicate whether the current
thread is invoked via the ODF Diagnostic Dump. If null any
existing state is removed.public static java.lang.Boolean getIsDumpExec()
true
if current thread is invoked
via the ODF Diagnostic Dump. Otherwise returns false
.
true
if current thread is invoked
via the ODF Diagnostic Dump. Otherwise returns false
.public static void setIsRemoteInAppExec(java.lang.Boolean pIsRemoteInAppExec)
pIsRemoteInAppExec
- flag to indicate whether the current
thread is invoked via the Remote-In-App JMX entry point. If null any
existing state is removed.public static java.lang.Boolean getIsRemoteInAppExec()
true
if current thread is invoked
via the Remote-In-App JMX entry point. Otherwise returns false
.
true
if current thread is invoked
via the Remote-In-App JMX entry point. Otherwise returns false
.
|
Oracle Fusion Middleware extensions for Logging and Diagnostics 11g Release 1 (11.1.2) E22565-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |