Class SecurityFactory

    • Constructor Detail

      • SecurityFactory

        public SecurityFactory()
    • Method Detail

      • getAuthenticationManager

        public static AuthenticationManager getAuthenticationManager​(String securityDomain)
        Get the AuthenticationManager interface
        Parameters:
        securityDomain - security domain such as "other"
        Returns:
      • getAuthorizationManager

        public static AuthorizationManager getAuthorizationManager​(String securityDomain)
        Get the AuthorizationManager interface
        Parameters:
        securityDomain - security domain such as "other"
        Returns:
      • getAuditManager

        public static AuditManager getAuditManager​(String securityDomain)
        Get the AuditManager interface
        Parameters:
        securityDomain - security domain such as "other"
        Returns:
      • getMappingManager

        public static MappingManager getMappingManager​(String securityDomain)
        Get the MappingManager
        Parameters:
        securityDomain -
        Returns:
      • getSecurityManagement

        public static ISecurityManagement getSecurityManagement()
        Get the ISecurityManagement interface
        Returns:
      • setSecurityManagement

        public static void setSecurityManagement​(ISecurityManagement iSecurityManagement)
        Set ISecurityManagement
        Parameters:
        iSecurityManagement -
      • prepare

        public static void prepare()
        Prepare for security operations. One of the operations that is undertaken is to establish the JAAS Configuration that uses our xml based configuration.
        See Also:
        to release the configuration
      • establishSecurityContext

        public static SecurityContext establishSecurityContext​(String securityDomainName)
        Establish a security context on the thread
        Parameters:
        securityDomainName -
      • release

        public static void release()
        Will release anything that was done during prepare() step