Class STSUtils


  • public class STSUtils
    extends Object
    This class provides utility classes for STS Service and clients
    • Constructor Detail

      • STSUtils

        public STSUtils()
    • Method Detail

      • getAgentAttributes

        public static Map getAgentAttributes​(String endpoint,
                                             String endPointAtrrName,
                                             Set attrNames,
                                             String agentType)
        Returns the WSP agent attributes for a given end point.
        Parameters:
        endpoint - the end point that is used in finding the Agent configuration.
        endPointAtrrName - the attribute name for the service End Point attribute.
        attrNames - the attribute names set that is used to retrieve their values. If the attribute set is null, then it will find all the attribute values.
        agentType - the type of the agent for e.g. ProviderConfig.WSC or ProviderConfig.WSP
        Returns:
        Map the attribute values for a given attribute set and with a given search pattern. If there is any exception, it returns an empty map.
      • getAppliesTo

        public static String getAppliesTo​(Element element)