public class AuthorizationEndpoint extends AuthorizationEndpointBase
AuthorizationEndpointBase.AuthorizationEndpointChecks| Modifier and Type | Field and Description |
|---|---|
static String |
CODE_AUTH_TYPE |
static String |
LOGIN_SESSION_NOTE_ADDITIONAL_REQ_PARAMS_PREFIX
Prefix used to store additional HTTP GET params from original client request into
AuthenticationSessionModel note to be available later in Authenticators, RequiredActions etc. |
APP_INITIATED_FLOW, authManager, clientConnection, event, headers, httpRequest, realm, session, uriInfo| Constructor and Description |
|---|
AuthorizationEndpoint(RealmModel realm,
EventBuilder event) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
build() |
AuthorizationEndpoint |
forgotCredentials() |
protected boolean |
isNewRequest(AuthenticationSessionModel authSession,
ClientModel clientFromRequest,
String stateFromRequest) |
AuthorizationEndpoint |
register() |
protected boolean |
shouldRestartAuthSession(AuthenticationSessionModel authSession) |
checkRealm, checkSsl, createProcessor, getAuthenticationFlow, getOrCreateAuthenticationSession, handleBrowserAuthenticationRequestpublic static final String CODE_AUTH_TYPE
public static final String LOGIN_SESSION_NOTE_ADDITIONAL_REQ_PARAMS_PREFIX
AuthenticationSessionModel note to be available later in Authenticators, RequiredActions etc. Prefix is used to
prevent collisions with internally used notes.public AuthorizationEndpoint(RealmModel realm, EventBuilder event)
@GET public javax.ws.rs.core.Response build()
public AuthorizationEndpoint register()
public AuthorizationEndpoint forgotCredentials()
protected boolean isNewRequest(AuthenticationSessionModel authSession, ClientModel clientFromRequest, String stateFromRequest)
isNewRequest in class AuthorizationEndpointBaseprotected boolean shouldRestartAuthSession(AuthenticationSessionModel authSession)
shouldRestartAuthSession in class AuthorizationEndpointBaseCopyright © 2017 JBoss by Red Hat. All rights reserved.