public abstract class AbstractSecuredLocalService extends Object
Modifier and Type | Field and Description |
---|---|
protected Auth |
auth |
protected ClientModel |
client |
protected ClientConnection |
clientConnection |
protected javax.ws.rs.core.HttpHeaders |
headers |
protected RealmModel |
realm |
protected org.jboss.resteasy.spi.HttpRequest |
request |
protected KeycloakSession |
session |
protected String |
stateChecker |
Constructor and Description |
---|
AbstractSecuredLocalService(RealmModel realm,
ClientModel client) |
Modifier and Type | Method and Description |
---|---|
protected abstract URI |
getBaseRedirectUri() |
protected abstract Set<String> |
getValidPaths() |
protected javax.ws.rs.core.Response |
login(String path) |
javax.ws.rs.core.Response |
loginRedirect(String code,
String state,
String error,
String path,
String referrer,
javax.ws.rs.core.HttpHeaders headers) |
protected final ClientModel client
protected RealmModel realm
@Context protected javax.ws.rs.core.HttpHeaders headers
@Context protected ClientConnection clientConnection
protected String stateChecker
@Context protected KeycloakSession session
@Context protected org.jboss.resteasy.spi.HttpRequest request
protected Auth auth
public AbstractSecuredLocalService(RealmModel realm, ClientModel client)
@Path(value="login-redirect") @GET public javax.ws.rs.core.Response loginRedirect(@QueryParam(value="code") String code, @QueryParam(value="state") String state, @QueryParam(value="error") String error, @QueryParam(value="path") String path, @QueryParam(value="referrer") String referrer, @Context javax.ws.rs.core.HttpHeaders headers)
protected abstract URI getBaseRedirectUri()
protected javax.ws.rs.core.Response login(String path)
Copyright © 2020 JBoss by Red Hat. All rights reserved.