public class OAuth2AuthenticationProvider
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OAUTH2 |
static java.lang.String |
PID |
| Constructor and Description |
|---|
OAuth2AuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(OAuth2Configuration config) |
Authentication |
authenticate(HttpServletRequest request,
HttpServletResponse response,
OpenAPISecurityDefinition dto) |
OpenAPISecurityProviderInfo |
getInfo(HttpServletRequest request) |
java.net.URI |
login(HttpServletRequest request,
HttpServletResponse response) |
java.net.URI |
logout(HttpServletRequest request,
HttpServletResponse response) |
java.net.URI |
other(java.lang.String command,
HttpServletRequest request,
HttpServletResponse response) |
void |
setEmail(java.lang.String user,
java.lang.String email) |
java.lang.String |
toString() |
public static final java.lang.String OAUTH2
public static final java.lang.String PID
public void activate(OAuth2Configuration config) throws java.lang.Exception
java.lang.Exceptionpublic Authentication authenticate(HttpServletRequest request,
HttpServletResponse response,
OpenAPISecurityDefinition dto)
public java.net.URI login(HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic java.net.URI other(java.lang.String command,
HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic java.net.URI logout(HttpServletRequest request,
HttpServletResponse response)
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic void setEmail(java.lang.String user,
java.lang.String email)
public OpenAPISecurityProviderInfo getInfo(HttpServletRequest request)
public java.lang.String toString()
toString in class java.lang.ObjectaQute SARL