Oracle

com.bea.security.saml2.providers
Interface SAML2PartnerRegistryMBean

All Superinterfaces:
ListerMBean, NameListerMBean, ProviderMBean
All Known Subinterfaces:
SAML2CredentialMapperMBean, SAML2IdentityAsserterMBean, SAML2IdPPartnerRegistryMBean, SAML2SPPartnerRegistryMBean

public interface SAML2PartnerRegistryMBean
extends ProviderMBean, NameListerMBean

The SAMLPartnerRegistry provides utilities common to a registry of SAML partners.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://edocs.bea.com.


Method Summary
 String getName()
          The name of this configuration.
 X509Certificate loadCertificate(String certificateFile)
          Loads a certificate from file so that it may be applied to partner configurations.
 
Methods inherited from interface weblogic.management.security.ProviderMBean
getDescription, getRealm, getVersion
 
Methods inherited from interface weblogic.management.utils.NameListerMBean
getCurrentName
 
Methods inherited from interface weblogic.management.utils.ListerMBean
advance, close, haveCurrent
 

Method Detail

loadCertificate

X509Certificate loadCertificate(String certificateFile)
                                throws weblogic.management.utils.InvalidParameterException

Loads a certificate from file so that it may be applied to partner configurations. <p> Throws InvalidParameterException if the certificateFile parameter is empty or null, or if the file cannot be read or does not contain a valid certificate.

Parameters:
certificateFile - - The pathname (relative to the directory the admin server is booted from) of a PEM or DER file containing the certificate.
Throws:
weblogic.management.utils.InvalidParameterException

getName

String getName()
Description copied from interface: ProviderMBean
The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

Specified by:
getName in interface ProviderMBean
Default Value:
"SAML2PartnerRegistry"

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle