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

E10686-05

oracle.adf.share.security.providers.jps
Class JpsAuthenticationService

java.lang.Object
  extended by oracle.adf.share.security.authentication.AbstractAuthenticationService
      extended by oracle.adf.share.security.authentication.JEEAuthenticationService
          extended by oracle.adf.share.security.providers.jps.JpsAuthenticationService
All Implemented Interfaces:
AuthenticationService

public class JpsAuthenticationService
extends JEEAuthenticationService


Field Summary
 
Fields inherited from class oracle.adf.share.security.authentication.JEEAuthenticationService
_adfSecLogger, adfEnv
 
Fields inherited from interface oracle.adf.share.security.AuthenticationService
JAZN_CONFIG, JAZN_LOGIN_PROVIDER, LOGIN_CONFIG, LOGIN_CONFIG_PROVIDER
 
Constructor Summary
JpsAuthenticationService()
           
 
Method Summary
 boolean hasSsoSupport()
           
 void internalLogout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Map<java.lang.String,?> props)
          Deprecated. Deprecated since 11.1.1.4.0 Internal: Applications should not use this class. This is method is strictly internal use only.
 void login(java.lang.String successUrl, java.lang.String cancelUrl, java.util.Map<java.lang.String,?> props)
          This method can be used for both SSO and non-SSO login.
 void logout(java.lang.String targetUrl, java.util.Map<java.lang.String,?> props)
          This method is used Web applications, SSO or non-SSO, to logout current user.
 
Methods inherited from class oracle.adf.share.security.authentication.JEEAuthenticationService
getRequest, getResponse, logout, responseComplete
 
Methods inherited from class oracle.adf.share.security.authentication.AbstractAuthenticationService
getSubject, login, login, setLoginConfig, setLoginConfigProvider
 
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
getSubject, login, login, setLoginConfigProvider
 

Constructor Detail

JpsAuthenticationService

public JpsAuthenticationService()
Method Detail

login

public void login(java.lang.String successUrl,
                  java.lang.String cancelUrl,
                  java.util.Map<java.lang.String,?> props)
Description copied from interface: AuthenticationService
This method can be used for both SSO and non-SSO login. However the cancelUrl is ignored for non-SSO. The supplied success and cancel URL can contain query parameters. If an application needs to pass more context information, it should be encoded as part of the success and cancel URLs.

Specified by:
login in interface AuthenticationService
Overrides:
login in class JEEAuthenticationService
Parameters:
successUrl - representing the URL that the user agent must be sent to after successful authentication. It is expected that the application will encode any Application Context in this URL
cancelUrl - representing the URL that the user agent must be taken to if the user chooses to cancel the login from the login form
props - used to convey any information relevant to the login process. It is mainly for extensibility

logout

public void logout(java.lang.String targetUrl,
                   java.util.Map<java.lang.String,?> props)
Description copied from interface: AuthenticationService
This method is used Web applications, SSO or non-SSO, to logout current user. Internally this method redirect to adfAuthentication servlet which handle SSO logout if SSO is configured. HTTP session is invalidate by adfAuthentication servlet and redirect to application specify return url, e.g. home page.

Specified by:
logout in interface AuthenticationService
Overrides:
logout in class JEEAuthenticationService
Parameters:
targetUrl - representing the URL that the user agent must be redirected to upon successful logout. It is expected that any application context will be encoded in this URL
props - used to convey any information relevant to the logout process. It is mainly for extensibility

internalLogout

public void internalLogout(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           java.util.Map<java.lang.String,?> props)
Deprecated. Deprecated since 11.1.1.4.0 Internal: Applications should not use this class. This is method is strictly internal use only.

Overrides:
internalLogout in class AbstractAuthenticationService

hasSsoSupport

public boolean hasSsoSupport()
Overrides:
hasSsoSupport in class AbstractAuthenticationService

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

E10686-05

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