public interface ApplicationResource
Modifier and Type | Method and Description |
---|---|
CredentialRepresentation |
generateNewSecret() |
Set<String> |
getAllowedOrigins() |
Map<String,Integer> |
getApplicationSessionCount() |
String |
getInstallationJbossXml() |
String |
getInstallationJson() |
ProtocolMappersResource |
getProtocolMappers() |
RoleMappingResource |
getScopeMappings() |
CredentialRepresentation |
getSecret() |
List<UserSessionRepresentation> |
getUserSessions(Integer firstResult,
Integer maxResults) |
void |
logoutAllUsers() |
void |
logoutUser(String username) |
void |
pushRevocation() |
void |
remove() |
void |
removeAllowedOrigins(Set<String> originsToRemove) |
RolesResource |
roles() |
ApplicationRepresentation |
toRepresentation() |
void |
update(ApplicationRepresentation applicationRepresentation) |
void |
updateAllowedOrigins(Set<String> allowedOrigins) |
@Path(value="protocol-mappers") ProtocolMappersResource getProtocolMappers()
@GET @Produces(value="application/json") ApplicationRepresentation toRepresentation()
@PUT @Consumes(value="application/json") void update(ApplicationRepresentation applicationRepresentation)
@DELETE void remove()
@GET @Path(value="allowed-origins") @Produces(value="application/json") Set<String> getAllowedOrigins()
@PUT @Path(value="allowed-origins") @Consumes(value="application/json") void updateAllowedOrigins(Set<String> allowedOrigins)
@DELETE @Path(value="allowed-origins") @Consumes(value="application/json") void removeAllowedOrigins(Set<String> originsToRemove)
@POST @Path(value="client-secret") @Produces(value="application/json") CredentialRepresentation generateNewSecret()
@GET @Path(value="client-secret") @Produces(value="application/json") CredentialRepresentation getSecret()
@GET @Path(value="installation/jboss") @Produces(value="application/xml") String getInstallationJbossXml()
@GET @Path(value="installation/json") @Produces(value="application/json") String getInstallationJson()
@POST @Path(value="logout-all") void logoutAllUsers()
@POST @Path(value="logout-user/{username}") void logoutUser(@PathParam(value="username") String username)
@Path(value="session-count") @GET @Produces(value="application/json") Map<String,Integer> getApplicationSessionCount()
@Path(value="user-sessions") @GET @Produces(value="application/json") List<UserSessionRepresentation> getUserSessions(@QueryParam(value="first") Integer firstResult, @QueryParam(value="max") Integer maxResults)
@POST @Path(value="push-revocation") void pushRevocation()
@Path(value="/scope-mappings") RoleMappingResource getScopeMappings()
@Path(value="/roles") RolesResource roles()
Copyright © 2015. All rights reserved.