public class AuthorizationEndpoint extends AuthorizationEndpointBase
Modifier and Type | Field and Description |
---|---|
static int |
ADDITIONAL_REQ_PARAMS_MAX_MUMBER
Max number of additional req params copied into client session note to prevent DoS attacks
|
static int |
ADDITIONAL_REQ_PARAMS_MAX_SIZE
Max size of additional req param value copied into client session note to prevent DoS attacks - params with longer value are ignored
|
protected Map<String,String> |
additionalReqParams |
static String |
CLIENT_SESSION_NOTE_ADDITIONAL_REQ_PARAMS_PREFIX
Prefix used to store additional HTTP GET params from original client request into
ClientSessionModel note to be available later in Authenticators, RequiredActions etc. |
static String |
CODE_AUTH_TYPE |
authManager, clientConnection, event, headers, realm, request, session, uriInfo
Constructor and Description |
---|
AuthorizationEndpoint(RealmModel realm,
EventBuilder event) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
build() |
protected void |
extractAdditionalReqParams(javax.ws.rs.core.MultivaluedMap<String,String> params) |
AuthorizationEndpoint |
forgotCredentials() |
AuthorizationEndpoint |
register() |
buildRedirectToIdentityProvider, createProcessor, getAuthenticationFlow, handleBrowserAuthenticationRequest
public static final String CODE_AUTH_TYPE
public static final String CLIENT_SESSION_NOTE_ADDITIONAL_REQ_PARAMS_PREFIX
ClientSessionModel
note to be available later in Authenticators, RequiredActions etc. Prefix is used to
prevent collisions with internally used notes.public static final int ADDITIONAL_REQ_PARAMS_MAX_MUMBER
additionalReqParams
,
Constant Field Valuespublic static final int ADDITIONAL_REQ_PARAMS_MAX_SIZE
additionalReqParams
,
Constant Field Valuespublic AuthorizationEndpoint(RealmModel realm, EventBuilder event)
@GET public javax.ws.rs.core.Response build()
protected void extractAdditionalReqParams(javax.ws.rs.core.MultivaluedMap<String,String> params)
public AuthorizationEndpoint register()
public AuthorizationEndpoint forgotCredentials()
Copyright © 2016 JBoss by Red Hat. All rights reserved.