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

com.veraxsystems.vxipmi.sm.events.Authorize Maven / Gradle / Ivy

The newest version!
/*
 * Authorize.java 
 * Created on 2011-08-22
 *
 * Copyright (c) Verax Systems 2011.
 * All rights reserved.
 *
 * This software is furnished under a license. Use, duplication,
 * disclosure and all other uses are restricted to the rights
 * specified in the written license agreement.
 */
package com.veraxsystems.vxipmi.sm.events;

import com.veraxsystems.vxipmi.coding.commands.PrivilegeLevel;
import com.veraxsystems.vxipmi.coding.security.CipherSuite;
import com.veraxsystems.vxipmi.sm.StateMachine;
import com.veraxsystems.vxipmi.sm.states.Authcap;
import com.veraxsystems.vxipmi.sm.states.OpenSessionWaiting;

/**
 * Performs transition from {@link Authcap} to {@link OpenSessionWaiting}.
 * 
 * @see StateMachine
 */
public class Authorize extends Default {

    private int sessionId;

    public int getSessionId() {
        return sessionId;
    }

    public Authorize(CipherSuite cipherSuite, int sequenceNumber,
            PrivilegeLevel privilegeLevel, int sessionId) {
        super(cipherSuite, sequenceNumber, privilegeLevel);
        this.sessionId = sessionId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy