Class WSFederationCOTUtils
- java.lang.Object
-
- com.sun.identity.wsfederation.meta.WSFederationCOTUtils
-
public class WSFederationCOTUtils extends Object
WSFederationCOTUtilsprovides utility methods to update the WS-Federation Entity Configurationcotlistattributes in the Service and Identity Provider configurations.
-
-
Constructor Summary
Constructors Constructor Description WSFederationCOTUtils(Object callerToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidremoveFromEntityConfig(String realm, String name, String entityId)Removes the circle of trust name passed from thecotlistattribute in the Entity Config.voidupdateEntityConfig(String realm, String name, String entityId)Updates the entity config to add the circle of trust name to thecotlistattribute.
-
-
-
Constructor Detail
-
WSFederationCOTUtils
public WSFederationCOTUtils(Object callerToken)
-
-
Method Detail
-
updateEntityConfig
public void updateEntityConfig(String realm, String name, String entityId) throws WSFederationMetaException, JAXBException
Updates the entity config to add the circle of trust name to thecotlistattribute. The Service Provider and Identity Provider Configuration are updated.- Parameters:
realm- the realm name where the entity configuration is.name- the circle of trust name.entityId- the name of the Entity identifier.- Throws:
WSFederationMetaException- if there is a configuration error when updating the configuration.JAXBException- is there is an error updating the entity configuration.
-
removeFromEntityConfig
public void removeFromEntityConfig(String realm, String name, String entityId) throws WSFederationMetaException, JAXBException
Removes the circle of trust name passed from thecotlistattribute in the Entity Config. The Service Provider and Identity Provider Entity Configuration are updated.- Parameters:
realm- the realm of the providername- the circle of trust name to be removed.entityId- the entity identifier of the provider.- Throws:
WSFederationMetaException- if there is an error updating the entity config.JAXBException- if there is an error updating the entity config.
-
-