|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SAML2SPPartnerRegistryMBean
The SAML2SPPartnerRegistry is used manage a registry of SAML 2.0 SP partners.
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(com.bea.security.saml2.providers.registry.SPPartner spPartner)
Adds a new SP partner to the registry. |
com.bea.security.saml2.providers.registry.MetadataPartner |
consumeSPPartnerMetadata(String fileName)
Returns an imported SP partner object. |
String |
getName()
The name of this configuration. |
com.bea.security.saml2.providers.registry.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. |
com.bea.security.saml2.providers.registry.Endpoint |
newEndpoint()
Returns a new Endpoint object. |
com.bea.security.saml2.providers.registry.IndexedEndpoint |
newIndexedEndpoint()
Returns a new IndexedEndpoint object. |
com.bea.security.saml2.providers.registry.WebSSOSPPartner |
newWebSSOSPPartner()
Returns a new Web SSO profile SP partner object. |
com.bea.security.saml2.providers.registry.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(com.bea.security.saml2.providers.registry.SPPartner spPartner)
Updates a SP partner in the registry. |
Methods inherited from interface com.bea.security.saml2.providers.SAML2PartnerRegistryMBean |
---|
loadCertificate |
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 |
---|
String listSPPartners(String partnerNameWildcard, int maxToReturn) throws weblogic.management.utils.InvalidCursorException, weblogic.management.utils.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.
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.
weblogic.management.utils.InvalidCursorException
weblogic.management.utils.InvalidParameterException
boolean spPartnerExists(String partnerName) throws weblogic.management.utils.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.
partnerName
- - The partnerName of the SP partner.
weblogic.management.utils.InvalidParameterException
com.bea.security.saml2.providers.registry.SPPartner getSPPartner(String partnerName) throws weblogic.management.utils.NotFoundException, weblogic.management.utils.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.
partnerName
- - The partnerName of the SP partner to return.
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
void addSPPartner(com.bea.security.saml2.providers.registry.SPPartner spPartner) throws weblogic.management.utils.InvalidParameterException, weblogic.management.utils.AlreadyExistsException, weblogic.management.utils.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.
spPartner
- - The new SP partner to add.
weblogic.management.utils.InvalidParameterException
weblogic.management.utils.AlreadyExistsException
weblogic.management.utils.CreateException
void updateSPPartner(com.bea.security.saml2.providers.registry.SPPartner spPartner) throws weblogic.management.utils.NotFoundException, weblogic.management.utils.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.
spPartner
- - The relying party to update.
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
void removeSPPartner(String partnerName) throws weblogic.management.utils.NotFoundException, weblogic.management.utils.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.
partnerName
- - The partnerName of the SP partner to remove.
weblogic.management.utils.NotFoundException
weblogic.management.utils.InvalidParameterException
com.bea.security.saml2.providers.registry.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.
com.bea.security.saml2.providers.registry.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.
com.bea.security.saml2.providers.registry.Endpoint newEndpoint()
Returns a new Endpoint object.
com.bea.security.saml2.providers.registry.IndexedEndpoint newIndexedEndpoint()
Returns a new IndexedEndpoint object.
com.bea.security.saml2.providers.registry.MetadataPartner consumeSPPartnerMetadata(String fileName) throws weblogic.management.utils.CreateException, weblogic.management.utils.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.
fileName
- - The file name containing the partner meta-data to consume.
weblogic.management.utils.CreateException
weblogic.management.utils.InvalidParameterException
String getName()
ProviderMBean
getName
in interface ProviderMBean
getName
in interface SAML2PartnerRegistryMBean
|
Copyright 1996, 2011, 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 MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |