|
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.authentication.AbstractAuthenticationService oracle.adf.share.security.authentication.JAASAuthenticationService
public class JAASAuthenticationService
Field Summary | |
---|---|
protected static ADFLogger |
_adfSecLogger
|
protected javax.security.auth.callback.CallbackHandler |
mCallbackHandler
|
protected java.lang.String |
mConfig
|
protected javax.security.auth.login.LoginContext |
mLoginContext
|
protected java.lang.String |
mLoginModule
|
Fields inherited from interface oracle.adf.share.security.AuthenticationService |
---|
JAZN_CONFIG, JAZN_LOGIN_PROVIDER, LOGIN_CONFIG, LOGIN_CONFIG_PROVIDER |
Constructor Summary | |
---|---|
JAASAuthenticationService()
|
|
JAASAuthenticationService(java.lang.String loginModule)
|
|
JAASAuthenticationService(java.lang.String loginModule,
java.lang.String config)
|
Method Summary | |
---|---|
java.lang.String |
getLoginModule()
|
javax.security.auth.Subject |
getSubject()
Return the subject from JAAS LoginContext |
protected void |
initSecurityContext(java.lang.String username)
|
void |
login(javax.security.auth.callback.CallbackHandler handler)
Implementer should overwrite this method if support JAAS login |
void |
login(java.lang.String username,
java.lang.String password)
Implementer should overwrite this method if support non container authentication |
void |
logout()
JSE only. |
void |
setLoginConfig(java.lang.String config)
|
void |
setLoginConfigProvider(java.lang.String provider)
Deprecated. Deprecated since 11.1.1.1.0 |
void |
setLoginModule(java.lang.String loginModule)
|
void |
showPrincipals()
|
Methods inherited from class oracle.adf.share.security.authentication.AbstractAuthenticationService |
---|
hasSsoSupport, internalLogout, login, logout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.adf.share.security.AuthenticationService |
---|
login, logout |
Field Detail |
---|
protected static ADFLogger _adfSecLogger
protected javax.security.auth.login.LoginContext mLoginContext
protected javax.security.auth.callback.CallbackHandler mCallbackHandler
protected java.lang.String mLoginModule
protected java.lang.String mConfig
Constructor Detail |
---|
public JAASAuthenticationService()
public JAASAuthenticationService(java.lang.String loginModule, java.lang.String config)
public JAASAuthenticationService(java.lang.String loginModule)
Method Detail |
---|
public void login(java.lang.String username, java.lang.String password)
AbstractAuthenticationService
login
in interface AuthenticationService
login
in class AbstractAuthenticationService
public void login(javax.security.auth.callback.CallbackHandler handler)
AbstractAuthenticationService
login
in interface AuthenticationService
login
in class AbstractAuthenticationService
public void logout()
AuthenticationService
logout
in interface AuthenticationService
logout
in class AbstractAuthenticationService
public javax.security.auth.Subject getSubject()
AuthenticationService
getSubject
in interface AuthenticationService
getSubject
in class AbstractAuthenticationService
public void setLoginConfig(java.lang.String config)
setLoginConfig
in class AbstractAuthenticationService
public void setLoginModule(java.lang.String loginModule)
public java.lang.String getLoginModule()
protected void initSecurityContext(java.lang.String username)
public void setLoginConfigProvider(java.lang.String provider)
setLoginConfigProvider
in interface AuthenticationService
setLoginConfigProvider
in class AbstractAuthenticationService
public void showPrincipals()
|
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 |