Class AdminService.Duck

java.lang.Object
com.sun.enterprise.config.serverbeans.AdminService.Duck
Enclosing interface:
AdminService

public static class AdminService.Duck extends Object
  • Constructor Details

    • Duck

      public Duck()
  • Method Details

    • getSystemJmxConnector

      public static JmxConnector getSystemJmxConnector(AdminService as)
    • getAssociatedAuthRealm

      public static AuthRealm getAssociatedAuthRealm(AdminService as)
      This is the place where the iteration for the AuthRealm for administration should be carried out in server. A convenience method for the same.
      Parameters:
      as - AdminService implemented by those who implement the interface (outer interface).
      Returns:
      AuthRealm instance for which the name is same as as.getAuthRealmName(), null otherwise.
    • usesFileRealm

      public static boolean usesFileRealm(AdminService as)
      Returns true if the classname of associated authrealm is same as fully qualified FileRealm classname.
      Parameters:
      as - "This" Admin Service
      Returns:
      true if associated authrealm is nonnull and its classname equals "com.sun.enterprise.security.auth.realm.file.FileRealm", false otherwise