Understand Why You Need an MBean Type

3-8 Developing Security Providers for Oracle WebLogic Server

3.3 Security Service Provider Interface SSPI MBeans

As described in Section 2.2, Overview of the Development Process, the second step in developing a custom security provider is generating an MBean type for the custom security provider. This section helps you: ■ Section 3.3.1, Understand Why You Need an MBean Type ■ Section 3.3.2, Determine Which SSPI MBeans to Extend and Implement ■ Section 3.3.3, Understand the Basic Elements of an MBean Definition File MDF ■ Section 3.3.4, Understand the SSPI MBean Hierarchy and How It Affects the Administration Console ■ Section 3.3.5, Understand What the WebLogic MBeanMaker Provides Additionally, this section provides Section 3.3.6, SSPI MBean Quick Reference that indicates which required SSPI MBeans must be extended and which optional SSPI MBeans can be implemented for each type of security provider.

3.3.1 Understand Why You Need an MBean Type

In addition to creating runtime classes for a custom security provider, you must also generate an MBean type. The term MBean is short for managed bean, a Java object that represents a Java Management eXtensions JMX manageable resource. An MBean type is a factory for instances of MBeans, the latter of which you or an administrator can create using the WebLogic Server Administration Console. Once Role Mapper RoleMapper Auditing provider AuditProvider Audit Channel AuditChannel Credential Mapping provider CredentialProviderV2 Credential Mapper CredentialMapperV2 Cert Path Provider CertPathProvider Versionable Application Provider VersionableApplicationProvider Note: The SSPIs you use to create runtime classes for custom security providers are located in the weblogic.security.spi package. For more information about this package, see the WebLogic Server API Reference Javadoc. Note: JMX is a specification created by Sun Microsystems that defines a standard management architecture, APIs, and management services. For more information, see the Java Management Extensions White Paper http:java.sun.comj2sereferencewhitepapersinde x.html . Table 3–1 Cont. Security Providers, Their Components, and Corresponding SSPIs TypeComponent SSPIsInterfaces Design Considerations 3-9 they are created, you can configure and manage the custom security provider using the MBean instance, through the Administration Console.

3.3.2 Determine Which SSPI MBeans to Extend and Implement