public class HttpAuthenticationChannelProvider extends Object implements AuthenticationChannelProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHENTICATION_CHANNEL_ID |
protected Map<String,String> |
clientAuthAttributes |
protected Cors |
cors |
protected javax.ws.rs.core.MultivaluedMap<String,String> |
formParams |
protected String |
httpAuthenticationChannelUri |
protected RealmModel |
realm |
protected KeycloakSession |
session |
| Constructor and Description |
|---|
HttpAuthenticationChannelProvider(KeycloakSession session,
String httpAuthenticationRequestUri) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAuthenticationChannel() |
void |
close() |
protected SimpleHttp |
completeDecoupledAuthnRequest(SimpleHttp simpleHttp,
AuthenticationChannelRequest channelRequest)
Extension point to allow subclass to override this method in order to add data to post to decoupled server.
|
boolean |
requestAuthentication(CIBAAuthenticationRequest request,
String infoUsedByAuthenticator)
Request the authentication(AuthN) and authorization(AuthZ) by an authentication device (AD) to the external entity via Authentication Channel.
|
public static final String AUTHENTICATION_CHANNEL_ID
protected KeycloakSession session
protected RealmModel realm
protected Cors cors
protected final String httpAuthenticationChannelUri
public HttpAuthenticationChannelProvider(KeycloakSession session, String httpAuthenticationRequestUri)
public boolean requestAuthentication(CIBAAuthenticationRequest request, String infoUsedByAuthenticator)
AuthenticationChannelProviderrequestAuthentication in interface AuthenticationChannelProviderrequest - the representation of Authentication Request received on Backchannel Authentication EndpointinfoUsedByAuthenticator - some value to help the AD to identify the userprotected void checkAuthenticationChannel()
protected SimpleHttp completeDecoupledAuthnRequest(SimpleHttp simpleHttp, AuthenticationChannelRequest channelRequest)
Copyright © 2021 JBoss by Red Hat. All rights reserved.