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

org.cesecore.audit.enums.ModuleTypes Maven / Gradle / Ivy

/*************************************************************************
 *                                                                       *
 *  CESeCore: CE Security Core                                           *
 *                                                                       *
 *  This software is free software; you can redistribute it and/or       *
 *  modify it under the terms of the GNU Lesser General Public           *
 *  License as published by the Free Software Foundation; either         *
 *  version 2.1 of the License, or any later version.                    *
 *                                                                       *
 *  See terms of license at gnu.org.                                     *
 *                                                                       *
 *************************************************************************/
package org.cesecore.audit.enums;

/**
 * When doing secure audit log it is necessary to identify from which module a security audit event originates.
 *
 * A modules is a group of related functionality. This class contains the modules in the CESeCore core itself.
 * 
 * @see org.cesecore.audit.enums.EventTypes
 * @see org.cesecore.audit.enums.ServiceTypes
 * @version $Id: ModuleTypes.java 26323 2017-08-15 17:24:53Z anatom $
 */
public enum ModuleTypes implements ModuleType {
	/** Access control module. */
	ACCESSCONTROL,
	/** Authentication module. */
	AUTHENTICATION,
	/** Certificate Authority module. */
	CA,
	/** Certificate issuance and handling module. */
	CERTIFICATE,
	/** Certificate profile module. */
	CERTIFICATEPROFILE,
    /** Certificate Revocation List issuance and handling module. */
	CRL,
    /** Crypto Token module. */
    CRYPTOTOKEN,
    /** Module type is currently not used in EJBCA. */
	KEY_MANAGEMENT,
	/** Module type for Key validator. */
    VALIDATOR,
    /** Module type is currently not used in EJBCA. */
	RECOVERY,
	/** Administrator role management module. */
	ROLES,
    /** Security event audit log module. */
	SECURITY_AUDIT,
    /** Module type is currently not used in EJBCA. */
	TRUSTED_TIME,
    /** Internal Key Binding module. */
	INTERNALKEYBINDING,
    /** Module for system settings stored in the database. */
    GLOBALCONF;

    @Override
    public boolean equals(ModuleType value) {
        if(value == null) {
            return false;
        }
        return this.toString().equals(value.toString());
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy