Class RealmsAdminResource


  • public class RealmsAdminResource
    extends Object
    Top level resource for Admin REST API
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Field Detail

      • logger

        protected static final org.jboss.logging.Logger logger
      • noCache

        public static final javax.ws.rs.core.CacheControl noCache
    • Method Detail

      • getRealms

        @GET
        @Produces("application/json")
        public Stream<RealmRepresentation> getRealms​(@DefaultValue("false") @QueryParam("briefRepresentation")
                                                     boolean briefRepresentation)
        Get accessible realms Returns a list of accessible realms. The list is filtered based on what realms the caller is allowed to view.
        Returns:
      • importRealm

        @POST
        @Consumes("application/json")
        public javax.ws.rs.core.Response importRealm​(InputStream requestBody)
        Import a realm.

        Imports a realm from a full representation of that realm. Realm name must be unique.

      • getRealmAdmin

        @Path("{realm}")
        public RealmAdminResource getRealmAdmin​(@PathParam("realm")
                                                String name)
        Base path for the admin REST API for one particular realm.
        Parameters:
        headers -
        name - realm name (not id!)
        Returns: