AAP interface to be implemented by any AAP pluggable
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 28 Oct 2004 13:14:11 +0000 (13:14 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 28 Oct 2004 13:14:11 +0000 (13:14 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1140 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/common/AAP.java [new file with mode: 0644]

diff --git a/src/edu/internet2/middleware/shibboleth/common/AAP.java b/src/edu/internet2/middleware/shibboleth/common/AAP.java
new file mode 100644 (file)
index 0000000..0a35539
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * AAP.java
+ * 
+ * Interface presented by an AAP provider. 
+ * Corresponds to IAAP in C++ shib.h
+ * 
+ * Notably implemented by ...target.XMLAAPImpl
+ */
+package edu.internet2.middleware.shibboleth.common;
+
+/**
+ * @author Howard Gilbert
+ */
+public interface AAP {
+       
+       boolean isAnyAttribute();
+       AttributeRule lookup(String attrName, String attrNamespace);
+       AttributeRule lookup(String alias);
+       AttributeRule[] getAttributeRules();
+
+}