Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

com.bea.security.saml2.providers
Interface SAML2SPPartnerRegistryMBean

All Superinterfaces:
DescriptorBean, ListerMBean, NameListerMBean, ProviderMBean, SAML2PartnerRegistryMBean, SettableBean, StandardInterface
All Known Subinterfaces:
SAML2CredentialMapperMBean

public interface SAML2SPPartnerRegistryMBean
extends StandardInterface, DescriptorBean, SAML2PartnerRegistryMBean

The SAML2SPPartnerRegistry is used manage a registry of SAML 2.0 SP 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.


Method Summary
 void addSPPartner(SPPartner spPartner)
          Adds a new SP partner to the registry.
 MetadataPartner consumeSPPartnerMetadata(String fileName)
          Returns an imported SP partner object.
 String getName()
          The name of this configuration.
 SPPartner getSPPartner(String partnerName)
          Gets the SP partner corresponding to a partnerName.
 String listSPPartners(String partnerNameWildcard, int maxToReturn)
          Lists the registered partner names that match a wild card.
 Endpoint newEndpoint()
          Returns a new Endpoint object.
 IndexedEndpoint newIndexedEndpoint()
          Returns a new IndexedEndpoint object.
 WebSSOSPPartner newWebSSOSPPartner()
          Returns a new Web SSO profile SP partner object.
 WSSSPPartner newWSSSPPartner()
          Returns a new WSS token profile SP partner object.
 void removeSPPartner(String partnerName)
          Removes a SP partner from the registry.
 boolean spPartnerExists(String partnerName)
          Determines whether or not a SP partner exists for the given partner name.
 void updateSPPartner(SPPartner spPartner)
          Updates a SP partner in the registry.
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 
Methods inherited from interface com.bea.security.saml2.providers.SAML2PartnerRegistryMBean
loadCertificate
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 
Methods inherited from interface weblogic.management.security.ProviderMBean
getDescription, getRealm, getVersion
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 
Methods inherited from interface weblogic.management.utils.NameListerMBean
getCurrentName
 
Methods inherited from interface weblogic.management.utils.ListerMBean
advance, close, haveCurrent
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

listSPPartners

String listSPPartners(String partnerNameWildcard,
                      int maxToReturn)
                      throws InvalidCursorException,
                             InvalidParameterException

Lists the registered partner names that match a wild card. <p> It follows the NameListerMBean cursor pattern. The results are not sorted. <p> Returns a String containing a cursor that may be passed into the NameListerMBean methods to read the list. The getCurrentName method returns the current alias on the list. <p> Throws InvalidParameterException if partnerNameWildcard is empty or null or if maxToReturn is less than zero.

Lists the registered partner names that match a wild card. <p> It follows the NameListerMBean cursor pattern. The results are not sorted. <p> Returns a String containing a cursor that may be passed into the NameListerMBean methods to read the list. The getCurrentName method returns the current alias on the list. <p> Throws InvalidParameterException if partnerNameWildcard is empty or null or if maxToReturn is less than zero.

Parameters:
partnerNameWildcard - - A wild card used to select partner names. It supports three formats: "*" matches all partner names. "foo*" matches all partner names starting with the string "foo". "foo" matches the partner name "foo" only. The matches are case-insensitive.
maxToReturn - - The maximum number of partner names this method may return. If there are more matches than this maximum, then the returned results are arbitrary because this method does not sort the results. Set this parameter to zero to return all matching aliases.
Throws:
InvalidCursorException
InvalidParameterException

spPartnerExists

boolean spPartnerExists(String partnerName)
                        throws InvalidParameterException

Determines whether or not a SP partner exists for the given partner name. <p> Returns true if the partner is found, false if not. <p> Throws InvalidParameterException if partnerId is empty or null.

Parameters:
partnerName - - The partnerName of the SP partner.
Throws:
InvalidParameterException

getSPPartner

SPPartner getSPPartner(String partnerName)
                       throws NotFoundException,
                              InvalidParameterException

Gets the SP partner corresponding to a partnerName. <p> Throws NotFoundException if the partner is not found. Throws InvalidParameterException if partnerName is empty or null.

Parameters:
partnerName - - The partnerName of the SP partner to return.
Throws:
NotFoundException
InvalidParameterException

addSPPartner

void addSPPartner(SPPartner spPartner)
                  throws InvalidParameterException,
                         AlreadyExistsException,
                         CreateException

Adds a new SP partner to the registry. <p> Throws InvalidParameterException if the partner object fails validation. Throws CreateException if an error occurs during creation of the object.

Parameters:
spPartner - - The new SP partner to add.
Throws:
InvalidParameterException
AlreadyExistsException
CreateException

updateSPPartner

void updateSPPartner(SPPartner spPartner)
                     throws NotFoundException,
                            InvalidParameterException

Updates a SP partner in the registry. <p> Throws NotFoundException if the partner does not exist. Throws InvalidParameterException if the partner object fails validation.

Parameters:
spPartner - - The relying party to update.
Throws:
NotFoundException
InvalidParameterException

removeSPPartner

void removeSPPartner(String partnerName)
                     throws NotFoundException,
                            InvalidParameterException

Removes a SP partner from the registry. <p> Throws NotFoundException if the partner does not exist. Throws InvalidParameterException if the partnerName is empty or null.

Parameters:
partnerName - - The partnerName of the SP partner to remove.
Throws:
NotFoundException
InvalidParameterException

newWebSSOSPPartner

WebSSOSPPartner newWebSSOSPPartner()

Returns a new Web SSO profile SP partner object. Caller can set the fields of this object and then call addSPPartner() to add the new partner to the registry. <p> SP partner objects obtained from this method should not be passed to updateSPPartner() -- call getSPPartner() to fetch an existing partner for update.

Returns a new Web SSO profile SP partner object. Caller can set the fields of this object and then call addSPPartner() to add the new partner to the registry. <p> SP partner objects obtained from this method should not be passed to updateSPPartner() -- call getSPPartner() to fetch an existing partner for update.


newWSSSPPartner

WSSSPPartner newWSSSPPartner()

Returns a new WSS token profile SP partner object. Caller can set the fields of this object and then call addSPPartner() to add the new partner to the registry. <p> SP partner objects obtained from this method should not be passed to updateSPPartner() -- call getSPPartner() to fetch an existing partner for update.


newEndpoint

Endpoint newEndpoint()

Returns a new Endpoint object.


newIndexedEndpoint

IndexedEndpoint newIndexedEndpoint()

Returns a new IndexedEndpoint object.


consumeSPPartnerMetadata

MetadataPartner consumeSPPartnerMetadata(String fileName)
                                         throws CreateException,
                                                InvalidParameterException

Returns an imported SP partner object. Caller can set the fields of this object and then call addIdPPartner() to add the new partner to the registry.

Parameters:
fileName - - The file name containing the partner meta-data to consume.
Throws:
CreateException
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
Specified by:
getName in interface SAML2PartnerRegistryMBean
Specified by:
getName in interface StandardInterface
Default Value:
"SAML2SPPartnerRegistry"

Copyright 1996, 2013, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01