Class AdminService.Duck
java.lang.Object
com.sun.enterprise.config.serverbeans.AdminService.Duck
- Enclosing interface:
- AdminService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthRealmThis is the place where the iteration for theAuthRealmfor administration should be carried out in server.static JmxConnectorstatic booleanReturns true if the classname of associated authrealm is same as fully qualified FileRealm classname.
-
Constructor Details
-
Duck
public Duck()
-
-
Method Details
-
getSystemJmxConnector
-
getAssociatedAuthRealm
This is the place where the iteration for theAuthRealmfor 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
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
-