|
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.Object oracle.adf.share.security.providers.jps.JpsUtil
public class JpsUtil
Internal: Applications should not use this class.
Constructor Summary | |
---|---|
JpsUtil()
|
Method Summary | |
---|---|
static java.lang.String |
getApplicationName()
Deprecated. Deprecated since 11.1.1.1.0 Internal: Applications should not use this method. |
static java.lang.String |
getCurrentUserUniqueID()
Returns the unique username of the currently logged on user or the string '[null]' if not running in a security context. |
static oracle.security.idm.IdentityStore |
getDefaultIdentityStore()
Get default idenity store based on JPS service context available via app-level or system-level jps-config.xml |
static javax.security.auth.login.LoginContext |
getLoginContext(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler cb)
Internal: Applications should not use this method. |
static java.lang.String |
getUserUniqueIdentifier(java.security.Principal principal)
Get unique identifier for the given principal. |
static java.lang.String |
getUserUniqueIdentifier(java.lang.String userName)
Get unique identifier for the given user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JpsUtil()
Method Detail |
---|
public static java.lang.String getApplicationName()
public static javax.security.auth.login.LoginContext getLoginContext(javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler cb)
public static final java.lang.String getCurrentUserUniqueID()
getUserUniqueIdentifier(java.security.Principal)
public static java.lang.String getUserUniqueIdentifier(java.security.Principal principal)
userprincipal
-
java.lang.RuntimeException
- if the underlying Id Store
configuration ended up with some error and user attributes could
not be retrieved.public static java.lang.String getUserUniqueIdentifier(java.lang.String userName)
String
- user name
java.lang.RuntimeException
- if the underlying Id Store
configuration ended up with some error and user attributes could
not be retrieved.public static oracle.security.idm.IdentityStore getDefaultIdentityStore() throws oracle.security.jps.JpsException
oracle.security.jps.JpsException
|
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 |