@Status(stage=PRODUCTION, unitTests=ABSENT) @Review(by="Kees Schotanus", at="2009-09-28") public final class ApplicationServerSecurity extends Object
GlobalSettings
.Modifier and Type | Method and Description |
---|---|
static ApplicationServerSecurityInterface |
createApplicationServerSecurityInstance(boolean local)
Creates a new application server security utility class for the current
application server and actually connects to the application server.
|
public static ApplicationServerSecurityInterface createApplicationServerSecurityInstance(boolean local) throws NamingException
GlobalSettings
.local
- True for a local connection (application requesting the
connection runs inside the application server) or false for a remote
connection.IllegalStateException
- When no, an unknown or unsupported
application server is fetched from the GlobalSettings
or when
the corresponding utility class could not be loaded.NamingException
- When the MBeanServer could not be looked up.Copyright © 2008–2018. All rights reserved.