com.veraxsystems.vxipmi.coding.commands.session.GetChannelAuthenticationCapabilitiesResponseData Maven / Gradle / Ivy
The newest version!
/*
* GetChannelAuthenticationCapabilitiesResponseData.java
* Created on 2011-07-21
*
* 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.coding.commands.session;
import java.util.Collection;
import com.veraxsystems.vxipmi.coding.commands.ResponseData;
import com.veraxsystems.vxipmi.coding.protocol.AuthenticationType;
/**
* A wrapper for Get Channel Authentication Capabilities command response
* @see GetChannelAuthenticationCapabilities
*/
public class GetChannelAuthenticationCapabilitiesResponseData implements ResponseData {
/**
* Channel number that the Authentication Capabilities is being returned for.
*/
private byte channelNumber;
/**
* IPMI v2.0 support.
*/
private boolean ipmiv20Support;
/**
* Authentication Types supported for requested privilege level.
*/
private Collection authenticationTypes;
/**
* BMC key used for authentication. If false, then BMC uses user key.
*/
private boolean kgEnabled;
/**
* If Mer-message Authentication is enabled, packets to the BMC must be authenticated per Authentication Type used
* to activate the session, and User Level Authentication setting, following. Otherwise, Authentication Type 'None'
* accepted for packets to the BMC after the session has been activated.
*/
private boolean perMessageAuthenticationEnabled;
/**
* If User Level Authentication is enabled, User Level commands must be authenticated per Authentication Type used
* to activate the session. Otherwise, Authentication Type 'none' accepted for User Level commands to the BMC.
*/
private boolean userLevelAuthenticationEnabled;
/**
* One or more users are enabled that have non-null usernames
*/
private boolean nonNullUsernamesEnabled;
/**
* One or more users that have a null username, but non-null password, are presently enabled
*/
private boolean nullUsernamesEnabled;
/**
* A user that has a null username and null password is presently enabled
*/
private boolean anonymusLoginEnabled;
/**
* IANA Enterprise Number for OEM/Organization that specified the particular OEM Authentication Type for RMCP.
*/
private int oemId;
/**
* Additional OEM-specific information for the OEM Authentication Type for RMCP.
*/
private byte oemData;
public void setChannelNumber(byte channelNumber) {
this.channelNumber = channelNumber;
}
public byte getChannelNumber() {
return channelNumber;
}
public void setIpmiv20Support(boolean ipmiv20Support) {
this.ipmiv20Support = ipmiv20Support;
}
public boolean isIpmiv20Support() {
return ipmiv20Support;
}
public void setAuthenticationTypes(Collection authenticationTypes) {
this.authenticationTypes = authenticationTypes;
}
public Collection getAuthenticationTypes() {
return authenticationTypes;
}
public void setKgEnabled(boolean kgEnabled) {
this.kgEnabled = kgEnabled;
}
public boolean isKgEnabled() {
return kgEnabled;
}
public void setPerMessageAuthenticationEnabled(boolean perMessageAuthenticationEnabled) {
this.perMessageAuthenticationEnabled = perMessageAuthenticationEnabled;
}
public boolean isPerMessageAuthenticationEnabled() {
return perMessageAuthenticationEnabled;
}
public void setUserLevelAuthenticationEnabled(boolean userLevelAuthenticationEnabled) {
this.userLevelAuthenticationEnabled = userLevelAuthenticationEnabled;
}
public boolean isUserLevelAuthenticationEnabled() {
return userLevelAuthenticationEnabled;
}
public void setNonNullUsernamesEnabled(boolean nonNullUsernamesEnabled) {
this.nonNullUsernamesEnabled = nonNullUsernamesEnabled;
}
public boolean isNonNullUsernamesEnabled() {
return nonNullUsernamesEnabled;
}
public void setNullUsernamesEnabled(boolean nullUsernamesEnabled) {
this.nullUsernamesEnabled = nullUsernamesEnabled;
}
public boolean isNullUsernamesEnabled() {
return nullUsernamesEnabled;
}
public void setAnonymusLoginEnabled(boolean anonymusLoginEnabled) {
this.anonymusLoginEnabled = anonymusLoginEnabled;
}
public boolean isAnonymusLoginEnabled() {
return anonymusLoginEnabled;
}
public void setOemId(int oemId) {
this.oemId = oemId;
}
public int getOemId() {
return oemId;
}
public void setOemData(byte oemData) {
this.oemData = oemData;
}
public byte getOemData() {
return oemData;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy