services/src/main/java/org/keycloak/services/resources/admin/AdminRoot.java
/**
     * Convenience path to master realm admin console
     *
     * @return
     */
Convenience path to master realm admin console

@return
Convenience path to master realm admin console @return
@GET
    public Response masterRealmAdminConsoleRedirect() {
        RealmModel master = new RealmManager(session).getKeycloakAdminstrationRealm();
        return Response.status(302).location(
                uriInfo.getBaseUriBuilder().path(AdminRoot.class).path(AdminRoot.class, "getAdminConsole").path("/").build(master.getName())
        ).build();
    }
@ GET public Response masterRealmAdminConsoleRedirect ( ) { RealmModel master = new RealmManager ( session ) . getKeycloakAdminstrationRealm ( ) ; return Response . status ( 302 ) . location ( uriInfo . getBaseUriBuilder ( ) . path ( AdminRoot . class ) . path ( AdminRoot . class , "getAdminConsole" ) . path ( "/" ) . build ( master . getName ( ) ) ) . build ( ) ; }
Convenience path to master realm admin console
Convenience path to master realm admin console