Enum Class OpenMetadataSecurityAuditCode
java.lang.Object
java.lang.Enum<OpenMetadataSecurityAuditCode>
org.odpi.openmetadata.metadatasecurity.ffdc.OpenMetadataSecurityAuditCode
- All Implemented Interfaces:
Serializable
,Comparable<OpenMetadataSecurityAuditCode>
,Constable
,AuditLogMessageSet
public enum OpenMetadataSecurityAuditCode
extends Enum<OpenMetadataSecurityAuditCode>
implements AuditLogMessageSet
The OpenMetadataSecurityAuditCode is used to define the message content for the OMRS Audit Log.
The 5 fields in the enum are:
- Log Message Identifier - to uniquely identify the message
- Severity - is this an event, decision, action, error or exception
- Log Message Text - includes placeholder to allow additional values to be captured
- Additional Information - further parameters and data relating to the audit message (optional)
- SystemAction - describes the result of the situation
- UserAction - describes how a user should correct the situation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOPEN-METADATA-SECURITY-0055 - User {0} deleted {1} asset {2} during operation {3} of service {4}OPEN-METADATA-SECURITY-0050 - User {0} retrieved {1} asset {2} during operation {3} of service {4}OPEN-METADATA-SECURITY-0051 - User {0} retrieved an attachment to {1} asset {2} during operation {3} of service {4}OPEN-METADATA-SECURITY-0056 - User {0} retrieved {1} asset {2} during search operation {3} of service {4}OPEN-METADATA-SECURITY-0057 - User {0} retrieved an attachment to {1} asset {2} during search operation {3} of service {4}OPEN-METADATA-SECURITY-0054 - User {0} updated {1} asset {2} during operation {3} of service {4}OPEN-METADATA-SECURITY-0052 - User {0} updated an attachment to {1} asset {2} during operation {3} of service {4}OPEN-METADATA-SECURITY-0053 - User {0} updated feedback related to {1} asset {2} during operation {3} of service {4}OPEN-METADATA-SECURITY-0023 - Exception {0} occurred when retrieving user {1}; message was {2}OPEN-METADATA-SECURITY-0014 - User {0} is not authorized to change asset {1} because it has missing properties: {2}OPEN-METADATA-SECURITY-0021 - User {0} is not authorized to issue operation {1} because the glossary is nullOPEN-METADATA-SECURITY-0001 - The Open Metadata Security Service {0} for OMAG Server Platform {1} is initializingOPEN-METADATA-SECURITY-0002 - The Open Metadata Security Service {0} for OMAG Server Platform {1} is shutting downOPEN-METADATA-SECURITY-0003 - The Open Metadata Security Service {0} for server {1} is initializingOPEN-METADATA-SECURITY-0004 - The Open Metadata Security Service {0} for server {1} is shutting downOPEN-METADATA-SECURITY-0011 - User {0} is not authorized to access asset {1}OPEN-METADATA-SECURITY-0013 - User {0} is not authorized to change asset {1}OPEN-METADATA-SECURITY-0012 - User {0} is not authorized to create an asset of type {1}OPEN-METADATA-SECURITY-0008 - User {0} is not authorized to attach feedback to asset {1}OPEN-METADATA-SECURITY-0010 - User {0} is not authorized to use connection {1}OPEN-METADATA-SECURITY-0020 - User {0} is not authorized to issue operation {1} on glossary {2}OPEN-METADATA-SECURITY-0018 - User {0} is not authorized to access open metadata instance {1} of type {2} on server {3}OPEN-METADATA-SECURITY-0019 - User {0} is not authorized to change open metadata type {1} of type {2} on server {3} using method {4}OPEN-METADATA-SECURITY-0017 - User {0} is not authorized to create an open metadata instance of type {1} on server {2}OPEN-METADATA-SECURITY-0005 - User {0} is not authorized to issue a request to this OMAG Server PlatformOPEN-METADATA-SECURITY-0006 - User {0} is not authorized to issue a request to server {1}OPEN-METADATA-SECURITY-0007 - User {0} is not authorized to issue {1} requests for service {2} on server {3}OPEN-METADATA-SECURITY-0015 - User {0} is not authorized to access open metadata type {1} ({2}) on server {3}OPEN-METADATA-SECURITY-0016 - User {0} is not authorized to change open metadata type {1} ({2}) on server {3}OPEN-METADATA-SECURITY-0009 - User {0} is not authorized to change the zone membership of asset {1} from {2} to {3}OPEN-METADATA-SECURITY-0099 - The security connector {0} received an unexpected {1} exception during method {2}; the error message was: {3}OPEN-METADATA-SECURITY-0022 - User {0} is not recognized -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a message definition object for logging.getMessageDefinition
(String... params) Retrieve a message definition object for logging.toString()
JSON-style toStringReturns the enum constant of this class with the specified name.static OpenMetadataSecurityAuditCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLATFORM_INITIALIZING
OPEN-METADATA-SECURITY-0001 - The Open Metadata Security Service {0} for OMAG Server Platform {1} is initializing -
PLATFORM_SHUTDOWN
OPEN-METADATA-SECURITY-0002 - The Open Metadata Security Service {0} for OMAG Server Platform {1} is shutting down -
SERVICE_INITIALIZING
OPEN-METADATA-SECURITY-0003 - The Open Metadata Security Service {0} for server {1} is initializing -
SERVICE_SHUTDOWN
OPEN-METADATA-SECURITY-0004 - The Open Metadata Security Service {0} for server {1} is shutting down -
UNAUTHORIZED_PLATFORM_ACCESS
OPEN-METADATA-SECURITY-0005 - User {0} is not authorized to issue a request to this OMAG Server Platform -
UNAUTHORIZED_SERVER_ACCESS
OPEN-METADATA-SECURITY-0006 - User {0} is not authorized to issue a request to server {1} -
UNAUTHORIZED_SERVICE_ACCESS
OPEN-METADATA-SECURITY-0007 - User {0} is not authorized to issue {1} requests for service {2} on server {3} -
UNAUTHORIZED_ASSET_FEEDBACK
OPEN-METADATA-SECURITY-0008 - User {0} is not authorized to attach feedback to asset {1} -
UNAUTHORIZED_ZONE_CHANGE
OPEN-METADATA-SECURITY-0009 - User {0} is not authorized to change the zone membership of asset {1} from {2} to {3} -
UNAUTHORIZED_CONNECTION_ACCESS
OPEN-METADATA-SECURITY-0010 - User {0} is not authorized to use connection {1} -
UNAUTHORIZED_ASSET_ACCESS
OPEN-METADATA-SECURITY-0011 - User {0} is not authorized to access asset {1} -
UNAUTHORIZED_ASSET_CREATE
OPEN-METADATA-SECURITY-0012 - User {0} is not authorized to create an asset of type {1} -
UNAUTHORIZED_ASSET_CHANGE
OPEN-METADATA-SECURITY-0013 - User {0} is not authorized to change asset {1} -
INCOMPLETE_ASSET
OPEN-METADATA-SECURITY-0014 - User {0} is not authorized to change asset {1} because it has missing properties: {2} -
UNAUTHORIZED_TYPE_ACCESS
OPEN-METADATA-SECURITY-0015 - User {0} is not authorized to access open metadata type {1} ({2}) on server {3} -
UNAUTHORIZED_TYPE_CHANGE
OPEN-METADATA-SECURITY-0016 - User {0} is not authorized to change open metadata type {1} ({2}) on server {3} -
UNAUTHORIZED_INSTANCE_CREATE
OPEN-METADATA-SECURITY-0017 - User {0} is not authorized to create an open metadata instance of type {1} on server {2} -
UNAUTHORIZED_INSTANCE_ACCESS
OPEN-METADATA-SECURITY-0018 - User {0} is not authorized to access open metadata instance {1} of type {2} on server {3} -
UNAUTHORIZED_INSTANCE_CHANGE
OPEN-METADATA-SECURITY-0019 - User {0} is not authorized to change open metadata type {1} of type {2} on server {3} using method {4} -
UNAUTHORIZED_GLOSSARY_ACCESS
OPEN-METADATA-SECURITY-0020 - User {0} is not authorized to issue operation {1} on glossary {2} -
NULL_GLOSSARY
OPEN-METADATA-SECURITY-0021 - User {0} is not authorized to issue operation {1} because the glossary is null -
UNKNOWN_USER
OPEN-METADATA-SECURITY-0022 - User {0} is not recognized -
FAILED_TO_RETRIEVE_USER
OPEN-METADATA-SECURITY-0023 - Exception {0} occurred when retrieving user {1}; message was {2} -
ASSET_ACTIVITY_READ
OPEN-METADATA-SECURITY-0050 - User {0} retrieved {1} asset {2} during operation {3} of service {4} -
ASSET_ACTIVITY_READ_ATTACHMENT
OPEN-METADATA-SECURITY-0051 - User {0} retrieved an attachment to {1} asset {2} during operation {3} of service {4} -
ASSET_ACTIVITY_UPDATE_ATTACHMENT
OPEN-METADATA-SECURITY-0052 - User {0} updated an attachment to {1} asset {2} during operation {3} of service {4} -
ASSET_ACTIVITY_UPDATE_FEEDBACK
OPEN-METADATA-SECURITY-0053 - User {0} updated feedback related to {1} asset {2} during operation {3} of service {4} -
ASSET_ACTIVITY_UPDATE
OPEN-METADATA-SECURITY-0054 - User {0} updated {1} asset {2} during operation {3} of service {4} -
ASSET_ACTIVITY_DELETE
OPEN-METADATA-SECURITY-0055 - User {0} deleted {1} asset {2} during operation {3} of service {4} -
ASSET_ACTIVITY_SEARCH
OPEN-METADATA-SECURITY-0056 - User {0} retrieved {1} asset {2} during search operation {3} of service {4} -
ASSET_ACTIVITY_SEARCH_ATTACHMENT
OPEN-METADATA-SECURITY-0057 - User {0} retrieved an attachment to {1} asset {2} during search operation {3} of service {4} -
UNEXPECTED_EXCEPTION
OPEN-METADATA-SECURITY-0099 - The security connector {0} received an unexpected {1} exception during method {2}; the error message was: {3}
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getMessageDefinition
Retrieve a message definition object for logging. This method is used when there are no message inserts.- Specified by:
getMessageDefinition
in interfaceAuditLogMessageSet
- Returns:
- message definition object.
-
getMessageDefinition
Retrieve a message definition object for logging. This method is used when there are values to be inserted into the message.- Specified by:
getMessageDefinition
in interfaceAuditLogMessageSet
- Parameters:
params
- array of parameters (all strings). They are inserted into the message according to the numbering in the message text.- Returns:
- message definition object.
-
toString
JSON-style toString- Overrides:
toString
in classEnum<OpenMetadataSecurityAuditCode>
- Returns:
- string of property names and values for this enum
-