public static interface BaseIdentityProvider.Context
| Modifier and Type | Method and Description | 
|---|---|
| void | authenticate(UserIdentity userIdentity)Authenticate and register the user into the platform. | 
| javax.servlet.http.HttpServletRequest | getRequest()Get the received HTTP request. | 
| javax.servlet.http.HttpServletResponse | getResponse()Get the HTTP response to send | 
| String | getServerBaseURL()Return the server base URL | 
javax.servlet.http.HttpServletRequest getRequest()
getRequest().getSession() must not be used in order to support
 future clustering of web servers without stateful server sessions.javax.servlet.http.HttpServletResponse getResponse()
String getServerBaseURL()
Server.getPublicRootUrl()void authenticate(UserIdentity userIdentity)
IdentityProvider.allowsUsersToSignUp() is true), a new user will be registered.
 Then, only user's name and email are updated.
 If @link #allowsUsersToSignUp()} is set to false and a new user try to authenticate,
 then the user is not authenticated and he's redirected to a dedicated page.
 If the email of the user is already used by an existing user of the platform,
 then the user is not authenticated and he's redirected to a dedicated page.Copyright © 2009–2016 SonarSource. All rights reserved.