Class DeletePropertyActionHandler

  • All Implemented Interfaces:
    ActionHandler

    public class DeletePropertyActionHandler
    extends Object
    implements ActionHandler
    Handles 'deleteProperty' actions. REQUEST: { 'properties' : [ 'property1', 'property2'] } RESPONSE: { 'success' : true }
    • Constructor Detail

      • DeletePropertyActionHandler

        public DeletePropertyActionHandler​(SessionPropertyWhitelist sessionPropertyWhitelist,
                                           SessionResourceUtil sessionResourceUtil)
        Constructs a DeletePropertyActionHandler instance
        Parameters:
        sessionPropertyWhitelist - An instance of the sessionPropertyWhitelist.
        sessionResourceUtil - An instance of SessionResourceUtil.
    • Method Detail

      • handle

        public org.forgerock.util.promise.Promise<org.forgerock.json.resource.ActionResponse,​org.forgerock.json.resource.ResourceException> handle​(String tokenId,
                                                                                                                                                         org.forgerock.services.context.Context context,
                                                                                                                                                         org.forgerock.json.resource.ActionRequest request)
        Specified by:
        handle in interface ActionHandler