Tweaked AA role API
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 1 Mar 2005 05:47:06 +0000 (05:47 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 1 Mar 2005 05:47:06 +0000 (05:47 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1371 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-ccache.cpp
shib/shib.h
test/shibtest.cpp
xmlproviders/XMLMetadata.cpp

index 0a69bea..6c69ebe 100644 (file)
@@ -739,7 +739,7 @@ SAMLResponse* InternalCCacheEntry::getNewResponse()
         }
 
         // Now try metadata.
-        Iterator<const IEndpoint*> endpoints=AA->getAttributeServices()->getEndpoints();
+        Iterator<const IEndpoint*> endpoints=AA->getAttributeServiceManager()->getEndpoints();
         while (!response && endpoints.hasNext()) {
             const IEndpoint* ep=endpoints.next();
             try {
index f4e2dcc..e7eb889 100644 (file)
@@ -221,7 +221,7 @@ namespace shibboleth
 
     struct SHIB_EXPORTS IAttributeAuthorityDescriptor : public virtual IRoleDescriptor
     {
-        virtual const IEndpointManager* getAttributeServices() const=0;
+        virtual const IEndpointManager* getAttributeServiceManager() const=0;
         virtual const IEndpointManager* getAssertionIDRequestServiceManager() const=0;
         virtual saml::Iterator<const XMLCh*> getNameIDFormats() const=0;
         virtual saml::Iterator<const XMLCh*> getAttributeProfiles() const=0;
index 4f8745c..1caf218 100644 (file)
@@ -147,7 +147,7 @@ int main(int argc,char* argv[])
         Trust t(app->getTrustProviders());
 
         SAMLResponse* response=NULL;
-        Iterator<const IEndpoint*> endpoints=AA->getAttributeServices()->getEndpoints();
+        Iterator<const IEndpoint*> endpoints=AA->getAttributeServiceManager()->getEndpoints();
         while (!response && endpoints.hasNext()) {
             const IEndpoint* ep=endpoints.next();
             try {
index db4eba7..d5d2476 100644 (file)
@@ -326,7 +326,7 @@ namespace {
         public:
             AARole(const EntityDescriptor* provider, time_t validUntil, const DOMElement* e);
             ~AARole();
-            const IEndpointManager* getAttributeServices() const {return &m_query;}
+            const IEndpointManager* getAttributeServiceManager() const {return &m_query;}
             const IEndpointManager* getAssertionIDRequestServiceManager() const {return &m_idreq;}
             saml::Iterator<const XMLCh*> getNameIDFormats() const {return m_formats;}
             saml::Iterator<const XMLCh*> getAttributeProfiles() const {return m_attrprofs;}