|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1.1) E14650-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SsoProvider
This interface defines the SPIs for underlying SSO providers to plug into JPS SSO framework. It is expected that each SSO provider supplies a concrete SsoProvider class and the class name needs to be specified in the jps configuration using property sso.provider.class.
| Method Summary | |
|---|---|
ResponseDispatcher |
getAutoLoginDispatcher(HttpServletRequest request, HttpServletResponse response, java.lang.String endpointUrl, java.lang.Object token, java.lang.String targetUrl, java.util.Map<java.lang.String,?> props)Gets the dispatcher used to send the response to an SSO agent to initiate the auto login process. |
ResponseDispatcher |
getLoginDispatcher(HttpServletRequest request, HttpServletResponse response, java.lang.String endpointUrl, java.lang.String successUrl, java.lang.String cancelUrl, java.util.Map<java.lang.String,?> props)Gets the dispatcher used to send the response to an SSO agent to initiate the login process. |
ResponseDispatcher |
getLogoutDispatcher(HttpServletRequest request, HttpServletResponse response, java.lang.String endpointUrl, java.lang.String targetUrl, java.util.Map<java.lang.String,?> props)Gets the dispatcher used to send the response to an SSO agent to initiate the log out process. |
void |
initialize(SsoServiceConfig serviceConfig)Initializes the SSO Provider. |
| Method Detail |
|---|
void initialize(SsoServiceConfig serviceConfig)
throws SsoServiceException
serviceConfig - encapsulates the service settings specified in the JPS configurationSsoServiceException
ResponseDispatcher getLoginDispatcher(HttpServletRequest request,
HttpServletResponse response,
java.lang.String endpointUrl,
java.lang.String successUrl,
java.lang.String cancelUrl,
java.util.Map<java.lang.String,?> props)
throws SsoServiceException
request - the client's request to access a resource which requires authentication to be performedresponse - the response associated with the client's requestendpointUrl - the SSO agent's endpoint url for login, it corresponds to the configured login url for a specific auth level with app.context variable substituted if presentsuccessUrl - representing the URL that the user agent must be sent to after successful authenticationcancelUrl - representing the URL that the user agent must be taken to if the user chooses to cancel the login from the login formprops - carries any information relevant to the login process. It is mainly for extensibilitySsoServiceException - thrown if failed to create a dispatcher
ResponseDispatcher getAutoLoginDispatcher(HttpServletRequest request,
HttpServletResponse response,
java.lang.String endpointUrl,
java.lang.Object token,
java.lang.String targetUrl,
java.util.Map<java.lang.String,?> props)
throws SsoServiceException
request - the client's request which requires automatically logging in the user after self registrationresponse - the response associated with the client's requestendpointUrl - the SSO agent's endpoint url for auto logintoken -targetUrl - the landing page URL that the user agent must be redirected to upon successful authentication after self-registrationprops - carries any information relevant to the auto login process. It is mainly for extensibilitySsoServiceException
ResponseDispatcher getLogoutDispatcher(HttpServletRequest request,
HttpServletResponse response,
java.lang.String endpointUrl,
java.lang.String targetUrl,
java.util.Map<java.lang.String,?> props)
throws SsoServiceException
request - the client's request for logoutresponse - the response associated with the client's requestendpointUrl - the SSO agent's endpoint url for logouttargetUrl - representing the URL that the user agent must be redirected to upon successful logoutprops - carries any information relevant to the logout process. It is mainly for extensibilitySsoServiceException
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1.1) E14650-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||