Author: prabath
Date: Wed Feb  6 01:22:41 2008
New Revision: 13316

Log:

added support for OpenID Attribute Exchange

Modified:
   
trunk/solutions/identity/modules/token-verifier-core/src/main/java/org/wso2/solutions/identity/openid/relyingparty/OpenIDAuthenticationRequest.java

Modified: 
trunk/solutions/identity/modules/token-verifier-core/src/main/java/org/wso2/solutions/identity/openid/relyingparty/OpenIDAuthenticationRequest.java
==============================================================================
--- 
trunk/solutions/identity/modules/token-verifier-core/src/main/java/org/wso2/solutions/identity/openid/relyingparty/OpenIDAuthenticationRequest.java
 (original)
+++ 
trunk/solutions/identity/modules/token-verifier-core/src/main/java/org/wso2/solutions/identity/openid/relyingparty/OpenIDAuthenticationRequest.java
 Wed Feb  6 01:22:41 2008
@@ -17,6 +17,8 @@
 
     private ArrayList requiredClaims = new ArrayList();
 
+    private OpenIDRequestType requestType;
+
     public String getOpenIDUrl() {
         return openIDUrl;
     }
@@ -25,6 +27,14 @@
         this.openIDUrl = openIDUrl;
     }
 
+    public OpenIDRequestType getRequestType() {
+        return requestType;
+    }
+
+    public void setRequestType(OpenIDRequestType requestType) {
+        this.requestType = requestType;
+    }
+
     public HttpServletResponse getReponse() {
         return reponse;
     }
@@ -57,4 +67,10 @@
         requiredClaims.add(attribute);
     }
 
-}
+    public void addRequiredClaims(String attribute, String namespace) {
+        OpenIDAxAttribute axAttributes = null;
+        axAttributes = new OpenIDAxAttribute(attribute, namespace);
+        requiredClaims.add(axAttributes);
+    }
+
+}
\ No newline at end of file

_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev

Reply via email to