Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.0.0)

E10686-01


oracle.adf.share.security.authentication
Class JAASAuthenticationService

java.lang.Object
  extended by oracle.adf.share.security.authentication.JAASAuthenticationService

All Implemented Interfaces:
AuthenticationService

public class JAASAuthenticationService
extends java.lang.Object
implements AuthenticationService

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()
           
protected  void initSecurityContext(java.lang.String username)
           
 void login(javax.security.auth.callback.CallbackHandler handler)
           
 void login(java.lang.String username, java.lang.String password)
           
 void logout()
           
 void setLoginConfig(java.lang.String config)
           
 void setLoginConfigProvider(java.lang.String provider)
           
 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

 

Field Detail

_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

Constructor Detail

JAASAuthenticationService

public JAASAuthenticationService()

JAASAuthenticationService

public JAASAuthenticationService(java.lang.String loginModule,
                                 java.lang.String config)

JAASAuthenticationService

public JAASAuthenticationService(java.lang.String loginModule)

Method Detail

login

public void login(java.lang.String username,
                  java.lang.String password)
Specified by:
login in interface AuthenticationService

login

public void login(javax.security.auth.callback.CallbackHandler handler)
Specified by:
login in interface AuthenticationService

logout

public void logout()
Specified by:
logout in interface AuthenticationService

getSubject

public javax.security.auth.Subject getSubject()
Specified by:
getSubject in interface AuthenticationService

setLoginConfig

public void setLoginConfig(java.lang.String config)

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)
Specified by:
setLoginConfigProvider in interface AuthenticationService

showPrincipals

public void showPrincipals()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.0.0)

E10686-01


Copyright © 1997, 2008, Oracle. All rights reserved.