Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02

weblogic.management.security
Class ProviderImpl

java.lang.Object
  extended by weblogic.management.security.BaseMBeanImpl
      extended by weblogic.management.security.ProviderImpl
Direct Known Subclasses:
AdjudicatorImpl, AuditorImpl, AuthenticationProviderImpl, AuthorizerImpl, CertPathProviderImpl, CredentialMapperImpl, KeyStoreImpl, RoleMapperImpl

public class ProviderImpl
extends BaseMBeanImpl

The base class of all security provider MBean implementations. It gives the provider's MBean implementation access to its configuration attributes.

Every security provider must implement an MBean. The MBean implementation includes an XML file describing the MBean (for example, Foo.xml) and an MBean implementation class (for example, FooImpl.java).

The XML file must extend the base MBean appropriate for the type of provider (for example, an Authorization provider would extend weblogic.management.security.authorization.Authorizor.xml). The implementation file must extend the corresponding base MBean implementation class (for example, weblogic.management.security.authorization.AuthorizerImpl.java)

The XML file may contain configuration attributes and management methods that the MBean supports. The Impl.java file must implement any methods defined in the XML file (directly or by inheritance). Since COMMO generates the attribute implementations, the provider's Impl.java file should not contain attribute implementations.

If a provider supports any management methods, the provider's implementation must be prepared to be called (or throw a suitable exception) at any time. The provider cannot rely on the rest of the realm, or even this provider's attributes, being completely configured before management methods are called. It is also a provider's responsibility to set appropriate default attribute values.

It is acceptable for the provider's management method implementations to throw exceptions if the provider's attributes need to be configured before management methods are invoked.


Constructor Summary
  ProviderImpl(ModelMBean base)
           
protected ProviderImpl(RequiredModelMBean base)
           
 
Method Summary
 String getCompatibilityObjectName()
           
 RealmMBean getRealm()
           
 
Methods inherited from class weblogic.management.security.BaseMBeanImpl
getProxy, getRequiredModelMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderImpl

public ProviderImpl(ModelMBean base)
             throws MBeanException
Throws:
MBeanException

ProviderImpl

protected ProviderImpl(RequiredModelMBean base)
                throws MBeanException
Throws:
MBeanException
Method Detail

getRealm

public RealmMBean getRealm()

getCompatibilityObjectName

public String getCompatibilityObjectName()

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02