Class ServerIdentityConfigurationImpl

    • Constructor Detail

      • ServerIdentityConfigurationImpl

        public ServerIdentityConfigurationImpl()
        ServerIdentityConfiguration empty constructor for YAMLFactory
      • ServerIdentityConfigurationImpl

        public ServerIdentityConfigurationImpl​(java.lang.String identityName,
                                               int identityServerId,
                                               int identitySiteId,
                                               java.lang.String identityRole)
        ServerIdentityConfiguration constructor
        Parameters:
        identityName - database identity name
        identityServerId - identity server id
        identitySiteId - identity site id
        identityRole - identity role
        Throws:
        java.lang.IllegalArgumentException - if identityName or identityRole
    • Method Detail

      • setIdentityName

        public ServerIdentityConfigurationImpl setIdentityName​(java.lang.String identityName)
        Parameters:
        identityName - the identity Name to set
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if identityName is null or empty
      • setIdentityServerId

        public ServerIdentityConfigurationImpl setIdentityServerId​(int identityServerId)
        Parameters:
        identityServerId - the identityServerId to set
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if identityServerId < 0
      • setIdentitySiteId

        public ServerIdentityConfigurationImpl setIdentitySiteId​(int identitySiteId)
        Parameters:
        identitySiteId - the identitySiteId to set
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if identitySiteId < 0
      • setIdentityRole

        public ServerIdentityConfigurationImpl setIdentityRole​(java.lang.String identityRole)
        Parameters:
        identityRole - the identityRole to set
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if identityRole is null or empty