public class PublicRealmResource extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
logger |
protected RealmModel |
realm |
protected org.jboss.resteasy.spi.HttpRequest |
request |
protected org.jboss.resteasy.spi.HttpResponse |
response |
protected javax.ws.rs.core.UriInfo |
uriInfo |
Constructor and Description |
---|
PublicRealmResource(RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
accountPreflight()
CORS preflight
|
PublishedRealmRepresentation |
getRealm()
Public information about the realm.
|
static PublishedRealmRepresentation |
realmRep(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
protected static final org.jboss.logging.Logger logger
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Context protected org.jboss.resteasy.spi.HttpRequest request
@Context protected org.jboss.resteasy.spi.HttpResponse response
protected RealmModel realm
public PublicRealmResource(RealmModel realm)
@Path(value="/") @OPTIONS public javax.ws.rs.core.Response accountPreflight()
@GET @Produces(value="application/json") public PublishedRealmRepresentation getRealm()
public static PublishedRealmRepresentation realmRep(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2015. All rights reserved.