public class SAML2COTUtils extends Object
SAML2COTUtils
provides utility methods to update
the SAML2 Entity Configuration cotlist
attributes
in the Service and Identity Provider configurations.Constructor and Description |
---|
SAML2COTUtils()
Default Constructor.
|
SAML2COTUtils(Object callerToken)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
removeFromEntityConfig(String realm,
String name,
String entityId)
Removes the circle trust name passed from the
cotlist
attribute in the Entity Config. |
void |
updateEntityConfig(String realm,
String name,
String entityId)
Updates the entity config to add the circle of turst name to the
cotlist attribute. |
public SAML2COTUtils()
public SAML2COTUtils(Object callerToken)
callerToken
- session token of the caller.public void updateEntityConfig(String realm, String name, String entityId) throws SAML2MetaException, JAXBException
cotlist
attribute. The Service Provider and Identity
Provider Configuration are updated.realm
- the realm name where the entity configuration is.name
- the circle of trust name.entityId
- the name of the Entity identifier.SAML2MetaException
- if there is a configuration error when
updating the configuration.JAXBException
- is there is an error updating the entity
configuration.public void removeFromEntityConfig(String realm, String name, String entityId) throws SAML2MetaException, JAXBException
cotlist
attribute in the Entity Config. The Service Provider and Identity
Provider Entity Configuration are updated.name
- the circle of trust name to be removed.entityId
- the entity identifier of the provider.SAML2MetaException
- if there is an error updating the entity
config.JAXBException
- if there is an error updating the entity config.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.