KEYCLOAK-2472
Remove deprecated endpoints
This commit is contained in:
parent
cf7a194ea3
commit
4670d93f76
1 changed files with 0 additions and 24 deletions
|
@ -84,23 +84,6 @@ public class RealmsResource {
|
||||||
return uriInfo.getBaseUriBuilder().path(RealmsResource.class).path(RealmsResource.class, "getBrokerService");
|
return uriInfo.getBaseUriBuilder().path(RealmsResource.class).path(RealmsResource.class, "getBrokerService");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Path("{realm}/login-status-iframe.html")
|
|
||||||
@Deprecated
|
|
||||||
public Object getLoginStatusIframe(final @PathParam("realm") String name,
|
|
||||||
@QueryParam("client_id") String client_id,
|
|
||||||
@QueryParam("origin") String origin) {
|
|
||||||
RealmModel realm = init(name);
|
|
||||||
|
|
||||||
EventBuilder event = new EventBuilder(realm, session, clientConnection);
|
|
||||||
|
|
||||||
LoginProtocolFactory factory = (LoginProtocolFactory)session.getKeycloakSessionFactory().getProviderFactory(LoginProtocol.class, OIDCLoginProtocol.LOGIN_PROTOCOL);
|
|
||||||
OIDCLoginProtocolService endpoint = (OIDCLoginProtocolService)factory.createProtocolEndpoint(realm, event);
|
|
||||||
|
|
||||||
ResteasyProviderFactory.getInstance().injectProperties(endpoint);
|
|
||||||
return endpoint.getLoginStatusIframe();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Path("{realm}/protocol/{protocol}")
|
@Path("{realm}/protocol/{protocol}")
|
||||||
public Object getProtocol(final @PathParam("realm") String name,
|
public Object getProtocol(final @PathParam("realm") String name,
|
||||||
final @PathParam("protocol") String protocol) {
|
final @PathParam("protocol") String protocol) {
|
||||||
|
@ -115,13 +98,6 @@ public class RealmsResource {
|
||||||
return endpoint;
|
return endpoint;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Path("{realm}/tokens")
|
|
||||||
@Deprecated
|
|
||||||
public Object getTokenService(final @PathParam("realm") String name) {
|
|
||||||
// for backward compatibility.
|
|
||||||
return getProtocol(name, "openid-connect");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Path("{realm}/login-actions")
|
@Path("{realm}/login-actions")
|
||||||
public LoginActionsService getLoginActionsService(final @PathParam("realm") String name) {
|
public LoginActionsService getLoginActionsService(final @PathParam("realm") String name) {
|
||||||
RealmModel realm = init(name);
|
RealmModel realm = init(name);
|
||||||
|
|
Loading…
Reference in a new issue