|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractMap
oracle.adf.share.security.SecurityContextMap
oracle.adf.share.security.SecurityContextImpl
oracle.adf.share.security.providers.jps.JpsSecurityContext
public class JpsSecurityContext
Internal: Applications should not use this class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Field Summary | |
|---|---|
protected JpsServices |
_jpsServices
|
protected java.lang.String |
_namespace
|
| Fields inherited from class oracle.adf.share.security.SecurityContextImpl |
|---|
_adfSecLogger, _adfShowPrincipalsLogger, _isJEE, ADF_SECURITY_SHOW_PRINCIPALS_LOGGER_NAME, mEnv, mNamedContext, mNames, mPermissionState |
| Fields inherited from interface javax.naming.Context |
|---|
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES |
| Constructor Summary | |
|---|---|
JpsSecurityContext()
Internal: Applications should not use this method. |
|
JpsSecurityContext(java.util.Map env)
|
|
| Method Summary | |
|---|---|
java.security.Permission |
createPermissionInstance(java.util.Hashtable values)
Create a FunctionPermission, DataPermission or Permission. |
javax.security.auth.Subject |
getSubject()
Retrieves the subject in the SecurityContext or AccessController context. |
java.security.Principal |
getUserPrincipal()
Internal: Applications should not use this method. |
UserProfile |
getUserProfile()
Internal: Applications should not use this method. |
protected boolean |
internalHasPermission(java.security.Permission permission)
|
boolean |
isAnyoneEnabled()
Internal: Applications should not use this class. True if anyone role is enable |
boolean |
isAuthenticated()
True if authenticated |
| Methods inherited from class oracle.adf.share.security.SecurityContextMap |
|---|
entrySet, equals, get, hashCode |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, clone, containsKey, containsValue, isEmpty, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.adf.share.security.SecurityContext |
|---|
attachToLightweightSession, detachFromLightweightSession, getAttachedLightweightSession, getPermissionState, getUserName, getUserRoles, hasPermission, isAuthenticationEnabled, isAuthorizationEnabled, isPageSecurityMetadataEnabled, isReAuthenticated, isUserInRole, isXSMode, setPermissionState |
| Methods inherited from interface javax.naming.Context |
|---|
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind |
| Field Detail |
|---|
protected JpsServices _jpsServices
protected java.lang.String _namespace
| Constructor Detail |
|---|
public JpsSecurityContext()
public JpsSecurityContext(java.util.Map env)
| Method Detail |
|---|
public UserProfile getUserProfile()
getUserProfile in interface SecurityContextgetUserProfile in class SecurityContextImplpublic java.security.Principal getUserPrincipal()
SecurityContextImpl
getUserPrincipal in interface SecurityContextgetUserPrincipal in class SecurityContextImplpublic boolean isAnyoneEnabled()
SecurityContext
isAnyoneEnabled in interface SecurityContextisAnyoneEnabled in class SecurityContextImpltrue if authorization check should be performed.public boolean isAuthenticated()
SecurityContext
isAuthenticated in interface SecurityContextisAuthenticated in class SecurityContextImpltrue if there is an authenticated user.protected boolean internalHasPermission(java.security.Permission permission)
internalHasPermission in class SecurityContextImplpublic java.security.Permission createPermissionInstance(java.util.Hashtable values)
SecurityContext
createPermissionInstance in interface SecurityContextcreatePermissionInstance in class SecurityContextImplpublic javax.security.auth.Subject getSubject()
SecurityContext
getSubject in interface SecurityContextgetSubject in class SecurityContextImpl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||