|
Oracle Fusion Middleware Java API Reference for Oracle Access Management Mobile and Social | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdentityProvider
| Method Summary | |
|---|---|
boolean |
authenticateUser(RequestContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, java.lang.String returnURL, java.util.Map<java.lang.String,java.lang.String> idpAttributes, java.util.Map<java.lang.String,java.lang.String> idpUserAttributes)This method is invoked to authenticate user with IDP. |
OAuthToken |
getAccessToken(RequestContext context, javax.servlet.http.HttpServletRequest request, java.lang.String returnURL, java.util.Map<java.lang.String,java.lang.String> idpAttributes)Gets access token using the authorization code returned by provider |
java.util.Map<java.lang.String,java.lang.String> |
getUserProfile(RequestContext context, javax.servlet.http.HttpServletRequest request, OAuthToken idpAccessToken, java.util.Map<java.lang.String,java.lang.String> idpAttributes, java.util.Map<java.lang.String,java.lang.String> idpUserAttributes)This method is invoked after the authentication of the user to retrieve user profile from the IDP. |
| Method Detail |
|---|
boolean authenticateUser(RequestContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
java.lang.String returnURL,
java.util.Map<java.lang.String,java.lang.String> idpAttributes,
java.util.Map<java.lang.String,java.lang.String> idpUserAttributes)
throws RPException
context - the request context that is established from the application.request - the HTTP request object.response - the HTTP response object.servletContext - the ServletContext object.returnURL - RP's return url.idpAttributes - the attributes map of the IDPidpUserAttributes - the user attributes map of the IDPRPException - if the authentication processing fails for any errors.
java.util.Map<java.lang.String,java.lang.String> getUserProfile(RequestContext context,
javax.servlet.http.HttpServletRequest request,
OAuthToken idpAccessToken,
java.util.Map<java.lang.String,java.lang.String> idpAttributes,
java.util.Map<java.lang.String,java.lang.String> idpUserAttributes)
throws RPException
context - the request context that is established from the application.request - the HTTP request object.idpAccessToken - containing the idp's access tokenidpAttributes - the attributes map of the IDPidpUserAttributes - the user attributes map of the IDPRPException - if the post authentication processing fails for any exceptions.
OAuthToken getAccessToken(RequestContext context,
javax.servlet.http.HttpServletRequest request,
java.lang.String returnURL,
java.util.Map<java.lang.String,java.lang.String> idpAttributes)
throws RPException
context - the request context that is established from the application.request - HttpServletRequest object is received from the providerreturnURL - RP's return url.idpAttributes - the attributes map of the IDPjava.lang.ExceptionRPException
|
Copyright (c) 2012, Oracle All Rights Reserved. Built 06/05/2012 17:18:07 PDT |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||