Package io.jans.scim.ws.rs.scim2
Class TokenManagementWebService
java.lang.Object
io.jans.scim.ws.rs.scim2.BaseScimWebService
io.jans.scim.ws.rs.scim2.TokenManagementWebService
- All Implemented Interfaces:
ITokenWebService
@Dependent
@Named
@Path("/v2/UserTokens")
public class TokenManagementWebService
extends BaseScimWebService
implements ITokenWebService
-
Field Summary
Fields inherited from class io.jans.scim.ws.rs.scim2.BaseScimWebService
SEARCH_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetTokensMetadata(String id, String attrsList, String excludedAttrsList) jakarta.ws.rs.core.ResponserevokeTokens(String id, String hash) voidsetup()Methods inherited from class io.jans.scim.ws.rs.scim2.BaseScimWebService
assignMetaInformation, executeValidation, executeValidation, getEndpointUrl, getErrorResponse, getErrorResponse, getErrorResponse, init, inspectPatchRequest, notFoundResponse, prepareSearchRequest, validateExistenceOfUser
-
Constructor Details
-
TokenManagementWebService
public TokenManagementWebService()
-
-
Method Details
-
getTokensMetadata
@Path("{id}") @GET @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) public jakarta.ws.rs.core.Response getTokensMetadata(@PathParam("id") String id, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList) - Specified by:
getTokensMetadatain interfaceITokenWebService
-
revokeTokens
@Path("{id}") @DELETE @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) public jakarta.ws.rs.core.Response revokeTokens(@PathParam("id") String id, @QueryParam("tokenHash") String hash) - Specified by:
revokeTokensin interfaceITokenWebService
-
setup
@PostConstruct public void setup()
-