Class SecurityConfig

    • Constructor Detail

      • SecurityConfig

        public SecurityConfig​(String name,
                              SecurityManagerConfig smc,
                              AccessManagerConfig amc,
                              LoginModuleConfig lmc)
        Creates a new security configuration.
        Parameters:
        name - repository name for a JAAS app-entry configuration
        smc - security manager configuration
        amc - access manager configuration
        lmc - login module configuration (can be null)
    • Method Detail

      • getAppName

        public String getAppName()
        Returns the repository name. The repository name can be used for JAAS app-entry configuration.
        Returns:
        repository name
      • getSecurityManagerConfig

        public SecurityManagerConfig getSecurityManagerConfig()
        Returns the repository security manager configuration.
        Returns:
        access manager configuration
      • getAccessManagerConfig

        public AccessManagerConfig getAccessManagerConfig()
        Returns the repository access manager configuration.
        Returns:
        access manager configuration
      • getLoginModuleConfig

        public LoginModuleConfig getLoginModuleConfig()
        Returns the repository login module configuration.
        Returns:
        login module configuration, or null if standard JAAS mechanism should be used.