Skip navigation links
oracle.adf.share.security.authentication
Class JAASAuthenticationService
java.lang.Object
oracle.adf.share.security.authentication.AbstractAuthenticationService
oracle.adf.share.security.authentication.JAASAuthenticationService
- All Implemented Interfaces:
- AuthenticationService
-
public class JAASAuthenticationService
- extends AbstractAuthenticationService
- implements AuthenticationService
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_adfSecLogger
protected static ADFLogger _adfSecLogger
mLoginContext
protected javax.security.auth.login.LoginContext mLoginContext
mCallbackHandler
protected javax.security.auth.callback.CallbackHandler mCallbackHandler
mLoginModule
protected java.lang.String mLoginModule
mConfig
protected java.lang.String mConfig
JAASAuthenticationService
public JAASAuthenticationService()
JAASAuthenticationService
public JAASAuthenticationService(java.lang.String loginModule,
java.lang.String config)
JAASAuthenticationService
public JAASAuthenticationService(java.lang.String loginModule)
login
public void login(java.lang.String username,
java.lang.String password)
- Description copied from class:
AbstractAuthenticationService
- Implementer should overwrite this method if support non container authentication
-
- Specified by:
login
in interface AuthenticationService
- Overrides:
login
in class AbstractAuthenticationService
login
public void login(javax.security.auth.callback.CallbackHandler handler)
- Description copied from class:
AbstractAuthenticationService
- Implementer should overwrite this method if support JAAS login
-
- Specified by:
login
in interface AuthenticationService
- Overrides:
login
in class AbstractAuthenticationService
logout
public void logout()
- Description copied from interface:
AuthenticationService
- JSE only. Logout user from JAAS LoginContext
-
- Specified by:
logout
in interface AuthenticationService
- Overrides:
logout
in class AbstractAuthenticationService
getSubject
public javax.security.auth.Subject getSubject()
- Description copied from interface:
AuthenticationService
- Return the subject from JAAS LoginContext
-
- Specified by:
getSubject
in interface AuthenticationService
- Overrides:
getSubject
in class AbstractAuthenticationService
setLoginConfig
public void setLoginConfig(java.lang.String config)
-
- Overrides:
setLoginConfig
in class AbstractAuthenticationService
setLoginModule
public void setLoginModule(java.lang.String loginModule)
getLoginModule
public java.lang.String getLoginModule()
initSecurityContext
protected void initSecurityContext(java.lang.String username)
setLoginConfigProvider
public void setLoginConfigProvider(java.lang.String provider)
- Deprecated. Deprecated since 11.1.1.1.0
-
- Specified by:
setLoginConfigProvider
in interface AuthenticationService
- Overrides:
setLoginConfigProvider
in class AbstractAuthenticationService
showPrincipals
public void showPrincipals()
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.