#define __shibsp_app_h__
#include <shibsp/util/PropertySet.h>
-#include <saml/saml2/metadata/MetadataProvider.h>
-#include <xmltooling/security/CredentialResolver.h>
-#include <xmltooling/security/TrustEngine.h>
+
+#include <set>
+#ifndef SHIBSP_LITE
+# include <saml/saml2/metadata/MetadataProvider.h>
+# include <xmltooling/security/CredentialResolver.h>
+# include <xmltooling/security/TrustEngine.h>
+#endif
namespace shibsp {
+#ifndef SHIBSP_LITE
class SHIBSP_API AttributeExtractor;
class SHIBSP_API AttributeFilter;
class SHIBSP_API AttributeResolver;
+#endif
class SHIBSP_API Handler;
class SHIBSP_API ServiceProvider;
class SHIBSP_API SessionInitiator;
/**
* Returns a unique hash for the Application.
*
- * @return a value resulting from a hash of the Application's ID
+ * @return a value resulting from a computation over the Application's configuration
*/
virtual const char* getHash() const=0;
*/
virtual std::pair<std::string,const char*> getCookieNameProps(const char* prefix) const;
+#ifndef SHIBSP_LITE
/**
* Returns a MetadataProvider for use with this Application.
*
*/
virtual AttributeResolver* getAttributeResolver() const=0;
- /**\r
- * Returns a set of attribute IDs to use as a REMOTE_USER value.\r
- * <p>The first attribute with a value (and only a single value) will be used.\r
- *\r
- * @return a set of attribute IDs, or an empty set\r
- */\r
- virtual const std::set<std::string>& getRemoteUserAttributeIds() const=0;
-
/**
* Returns the CredentialResolver instance associated with this Application.
*
virtual const PropertySet* getRelyingParty(const opensaml::saml2md::EntityDescriptor* provider) const=0;
/**
+ * Returns the set of audience values associated with this Application.
+ *
+ * @return set of audience values associated with the Application
+ */
+ virtual const std::vector<const XMLCh*>& getAudiences() const=0;
+#endif
+
+ /**
+ * Returns a set of attribute IDs to use as a REMOTE_USER value.
+ * <p>The first attribute with a value (and only a single value) will be used.
+ *
+ * @return a set of attribute IDs, or an empty set
+ */
+ virtual const std::set<std::string>& getRemoteUserAttributeIds() const=0;
+
+ /**
* Returns the default SessionInitiator when automatically requesting a session.
*
* @return the default SessionInitiator, or NULL
* @return the mapped Handler, or NULL
*/
virtual const Handler* getHandler(const char* path) const=0;
-
- /**
- * Returns the set of audience values associated with this Application.
- *
- * @return set of audience values associated with the Application
- */
- virtual const std::vector<const XMLCh*>& getAudiences() const=0;
};
};