Interface RealmInitializer

  • All Known Implementing Classes:
    RealmAdapter

    public interface RealmInitializer
    Interface to facilitate Initialization of the injected Realm Instance with Application Descriptor info.

    See com.sun.enterprise.web.WebContainer and com.sun.web.security.RealmAdapter

    • Method Detail

      • initializeRealm

        void initializeRealm​(Object bundleDescriptor,
                             boolean isSystemApp,
                             String defaultRealmName)
        Initializes the internal state of this instance with provided parameters.
        Parameters:
        bundleDescriptor - - contains bundle-specific configuration
        isSystemApp - - realm may have different behavior for system applications
        defaultRealmName - - this realm name will be used as a default if there is not any other configured in the descriptor.
      • setVirtualServer

        void setVirtualServer​(Object container)
        Sets the realm's virtual server container.
        Parameters:
        container -
      • updateWebSecurityManager

        void updateWebSecurityManager()
        Reinitializes the web security manager.
      • logout

        void logout()
        Clean up security and policy context.