Class GetPropertyNamesActionHandler

  • All Implemented Interfaces:
    ActionHandler

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

      • GetPropertyNamesActionHandler

        public GetPropertyNamesActionHandler​(SessionPropertyWhitelist sessionPropertyWhitelist)
        Constructs a GetPropertyNamesActionHandler instance
        Parameters:
        sessionPropertyWhitelist - An instance of the SessionPropertyWhitelist.
    • 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