Package com.sun.identity.federation.meta
Class IDFFCOTUtils
- java.lang.Object
-
- com.sun.identity.federation.meta.IDFFCOTUtils
-
public class IDFFCOTUtils extends Object
This class utility methods to update circle of trust attribute in the service and identity provider configuration.
-
-
Constructor Summary
Constructors Constructor Description IDFFCOTUtils(Object callerToken)Creates a new instance of IDFFCOTUtils
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidremoveFromEntityConfig(String realm, String cotName, String entityID)Removes the circle trust name passed from thecotlistlist attribute in the Entity Config.voidupdateEntityConfig(String realm, String cotName, String entityID)Updates the entity config to add the circle of turst name to thecotlistattribute.
-
-
-
Constructor Detail
-
IDFFCOTUtils
public IDFFCOTUtils(Object callerToken)
Creates a new instance of IDFFCOTUtils
-
-
Method Detail
-
updateEntityConfig
public void updateEntityConfig(String realm, String cotName, String entityID) throws IDFFMetaException, JAXBException
Updates the entity config to add the circle of turst name to thecotlistattribute. The Service Provider and Identity Provider Configurations are updated.- Parameters:
realm- realm the entity resides in.cotName- the circle of trust name.entityID- the name of the Entity identifier.- Throws:
IDFFMetaException- 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 cotName, String entityID) throws IDFFMetaException, JAXBException
Removes the circle trust name passed from thecotlistlist attribute in the Entity Config. The Service Provider and Identity Provider Entity Configuration are updated.- Parameters:
realm- realm the entity resides in.cotName- the circle of trust name to be removed.entityID- the entity identifier of the provider.- Throws:
IDFFMetaException- if there is an error updating the entity config.JAXBException- if there is an error updating the entity config.
-
-