All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.getlime.security.powerauth.lib.cmd.steps.context.StepContext Maven / Gradle / Ivy

The newest version!
/*
 * PowerAuth Command-line utility
 * Copyright 2021 Wultra s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.getlime.security.powerauth.lib.cmd.steps.context;

import io.getlime.security.powerauth.lib.cmd.consts.PowerAuthStep;
import io.getlime.security.powerauth.lib.cmd.logging.StepLogger;
import io.getlime.security.powerauth.lib.cmd.steps.context.security.SecurityContext;
import io.getlime.security.powerauth.lib.cmd.steps.model.data.BaseStepData;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

/**
 * Step call context
 *
 * @author Lukas Lukovsky, [email protected]
 */
@Data
public class StepContext {

    /**
     * Additional context attributes
     */
    private Map attributes = new HashMap<>();

    /**
     * Data model
     */
    private M model;

    /**
     * Request context
     */
    private RequestContext requestContext;

    /**
     * Response context
     */
    private ResponseContext responseContext;

    /**
     * Security context
     */
    private SecurityContext securityContext;

    /**
     * Current step identification
     */
    private PowerAuthStep step;

    /**
     * Step logger
     */
    private StepLogger stepLogger;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy