Class SecurityOfficerConfig

  • All Implemented Interfaces:
    java.io.Serializable

    public class SecurityOfficerConfig
    extends AdminServicesConfigHeader
    SecurityOfficerConfig provides the properties for the deprecated security-officer-services. This function is replaced by the new services in the Engine Host OMAG Server and Integration Daemon OMAG Server.
    See Also:
    Serialized Form
    • Constructor Detail

      • SecurityOfficerConfig

        public SecurityOfficerConfig()
        Default constructor
    • Method Detail

      • getAccessServiceRootURL

        public java.lang.String getAccessServiceRootURL()
        Return the URL for the Security Officer OMAS connected
        Returns:
        String URL
      • setAccessServiceRootURL

        public void setAccessServiceRootURL​(java.lang.String accessServiceRootURL)
        Set up the URL for the Security Officer OMAS connected
        Parameters:
        accessServiceRootURL - ULR for the Security Officer OMAS instance
      • getAccessServiceServerName

        public java.lang.String getAccessServiceServerName()
        Return the name of the server where Security Officer OMAS is running
        Returns:
        the server name
      • setAccessServiceServerName

        public void setAccessServiceServerName​(java.lang.String accessServiceServerName)
        Set up the name of the server where the instance of the Security Officer OMAS is running
        Parameters:
        accessServiceServerName - name of the server for Security Officer OMAS
      • getSecurityOfficerServerInTopicName

        public java.lang.String getSecurityOfficerServerInTopicName()
        Return the Input Topic Name for Security Officer Server
        Returns:
        String Input Topic name
      • setSecurityOfficerServerInTopicName

        public void setSecurityOfficerServerInTopicName​(java.lang.String securityOfficerServerInTopicName)
        Set up the Security Officer Server In Topic Name
        Parameters:
        securityOfficerServerInTopicName - String Security Officer Name
      • getSecurityOfficerServerInTopic

        public Connection getSecurityOfficerServerInTopic()
        Return the OCF Connection for the In Topic used to pass requests to this Security Officer. For example, the output topic of Security Officer OMAS can be provided (e.g. "open-metadata.access-services.SecurityOfficer.outTopic")
        Returns:
        Connection for In Topic
      • setSecurityOfficerServerInTopic

        public void setSecurityOfficerServerInTopic​(Connection securityOfficerServerInTopic)
        Set up the OCF Connection for the Out Topic used to pass requests to this Security Officer.
        Parameters:
        securityOfficerServerInTopic - Connection for In Topic
      • getSecurityOfficerServerOutTopicName

        public java.lang.String getSecurityOfficerServerOutTopicName()
        Return the Security Officer Out Topic Name
        Returns:
        String security out topic name
      • setSecurityOfficerServerOutTopicName

        public void setSecurityOfficerServerOutTopicName​(java.lang.String securityOfficerServerOutTopicName)
        Set up the Security Officer Server Out Name
        Parameters:
        securityOfficerServerOutTopicName - String Security Out Topic Name
      • getSecurityOfficerServerOutTopic

        public Connection getSecurityOfficerServerOutTopic()
        Return the OCF Connection for the topic used to pass requests to Security Officer. The default values are constructed from the Security Officer Server Name.
        Returns:
        Connection for Out Topic
      • setSecurityOfficerServerOutTopic

        public void setSecurityOfficerServerOutTopic​(Connection securityOfficerServerOutTopic)
        Set up the OCF Connection for the Out Topic used to pass requests to this Security Officer.
        Parameters:
        securityOfficerServerOutTopic - Connection for Out Topic
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Validate that an object is equal depending on their stored values.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - object to compare
        Returns:
        boolean result
      • hashCode

        public int hashCode()
        Return a hash code based on the values of this object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        in hash code