|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
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 oracle.apps.fnd.appltest.diagfwk.engine.provider.security.cli.CLIDevSecurityProvider
public class CLIDevSecurityProvider
Provides Command-Line interface specific interface for the
SecurityProvider APIs.
This implementation is intended only
for internal development environments and not for production
use. This implementation always returns GUID and names for the
"DIAG_ADMINISTRATOR" user and "FND_DIAG_ADMINISTRATOR" enterprise role.
WARNING: since this bypasses JPS, Subjects created using this provider will not
have any apps roles which include our Data Security App Roles
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 | |
---|---|
static java.lang.String |
ROLEGUID_FND_DIAG_ADMINISTRATOR
FND_DIAG_ADMINISTRATOR role GUID |
static java.lang.String |
ROLENAME_FND_DIAG_ADMINISTRATOR
FND_DIAG_ADMINISTRATOR role name |
static java.lang.String |
USERGUID_DIAG_ADMINISTRATOR
DIAG_ADMINISTRATOR GUID |
static java.lang.String |
USERNAME_DIAG_ADMINISTRATOR
DIAG_ADMINISTRATOR user |
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.engine.provider.security.SecurityProvider |
---|
DEFAULT_DIAGNOSTICS_POLICY_STRIPE_NAME |
Constructor Summary | |
---|---|
CLIDevSecurityProvider()
|
Method Summary | |
---|---|
javax.security.auth.Subject |
authenticateUser(java.lang.String user,
java.lang.String password)
API to authenticate a user given the user/pw |
void |
checkAccessJMXAPI(javax.security.auth.Subject wlsSubject)
|
java.util.Map<java.lang.String,java.lang.String> |
getAllUserRoles()
|
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. |
java.util.List<java.lang.String> |
getEnterpriseRoleNames()
|
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. |
javax.security.auth.Subject |
getSubject()
|
java.lang.String |
getUserGUID()
|
java.lang.String |
getUserName()
|
java.lang.Boolean |
isUserAuthenticated()
|
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.engine.provider.security.SecurityProvider |
---|
getIsDumpExec, getIsRemoteInAppExec, instance, setIsDumpExec, setIsRemoteInAppExec |
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 |
---|
public static final java.lang.String USERNAME_DIAG_ADMINISTRATOR
public static final java.lang.String USERGUID_DIAG_ADMINISTRATOR
public static final java.lang.String ROLENAME_FND_DIAG_ADMINISTRATOR
public static final java.lang.String ROLEGUID_FND_DIAG_ADMINISTRATOR
Constructor Detail |
---|
public CLIDevSecurityProvider()
Method Detail |
---|
public java.lang.Boolean isUserAuthenticated()
isUserAuthenticated
in class SecurityProvider
public javax.security.auth.Subject authenticateUser(java.lang.String user, java.lang.String password)
SecurityProvider
authenticateUser
in class SecurityProvider
public javax.security.auth.Subject getSubject()
getSubject
in class SecurityProvider
public java.lang.String getUserName()
getUserName
in class SecurityProvider
public java.lang.String getUserGUID()
getUserGUID
in class SecurityProvider
public java.lang.String getDiagJPSPolicyContextID()
getDiagJPSPolicyContextID
in class SecurityProvider
PolicyContext
.setContextIDSecurityProvider.getDiagJPSPolicyContextID()
public java.lang.String getPillarJPSPolicyContextID()
getPillarJPSPolicyContextID
in class SecurityProvider
PolicyContext
.setContextIDSecurityProvider.getPillarJPSPolicyContextID()
public java.util.Map<java.lang.String,java.lang.String> getAllUserRoles()
getAllUserRoles
in class SecurityProvider
public java.util.List<java.lang.String> getEnterpriseRoleNames()
getEnterpriseRoleNames
in class SecurityProvider
public void checkAccessJMXAPI(javax.security.auth.Subject wlsSubject)
checkAccessJMXAPI
in class SecurityProvider
wlsSubject
- current user's WLS subject
|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |