Class CreateApiKeyActionResource
java.lang.Object
ch.tocco.nice2.rest.core.spi.AbstractRestResource
ch.tocco.nice2.usermanager.impl.actions.CreateApiKeyActionResource
- All Implemented Interfaces:
RestResource
@Path("/usermanager/actions/createApiKey/{keyName}")
public class CreateApiKeyActionResource
extends AbstractRestResource
-
Nested Class Summary
-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
uriInfo
-
Constructor Summary
ConstructorDescriptionCreateApiKeyActionResource
(ApiKeyManager apiKeyManager, SelectionService selectionService, Context context) -
Method Summary
Modifier and TypeMethodDescriptioncreateApiKey
(String keyName, EntitySelectionBean selectionBean) Methods inherited from class ch.tocco.nice2.rest.core.spi.AbstractRestResource
getPathParameter, setUriInfo, tryGetInt
-
Constructor Details
-
CreateApiKeyActionResource
public CreateApiKeyActionResource(ApiKeyManager apiKeyManager, SelectionService selectionService, Context context)
-
-
Method Details
-
createApiKey
@POST @Consumes("application/json") @Produces("application/json") public CreateApiKeyActionResource.ResponseBean createApiKey(@PathParam("keyName") String keyName, EntitySelectionBean selectionBean)
-