Author: prabath
Date: Tue Mar 18 00:15:12 2008
New Revision: 14942
Log:
Spelling correction
Added:
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/report/OpenIDSummaryReportData.java
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/report/SummaryReportData.java
Removed:
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/report/SummeryReportData.java
Added:
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/report/OpenIDSummaryReportData.java
==============================================================================
--- (empty file)
+++
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/report/OpenIDSummaryReportData.java
Tue Mar 18 00:15:12 2008
@@ -0,0 +1,24 @@
+package org.wso2.solutions.identity.report;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.wso2.solutions.identity.IdentityProviderException;
+import org.wso2.solutions.identity.openid.OpenIDUtil;
+
+public class OpenIDSummaryReportData extends SummaryReportData {
+
+ private static Log log = LogFactory.getLog(OpenIDSummaryReportData.class);
+
+ private String openID;
+
+ public String getOpenID() {
+ try {
+ openID = OpenIDUtil.getOpenID(getUserId());
+ return openID;
+ } catch (IdentityProviderException e) {
+ log.error(e);
+ return null;
+ }
+ }
+
+}
Added:
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/report/SummaryReportData.java
==============================================================================
--- (empty file)
+++
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/report/SummaryReportData.java
Tue Mar 18 00:15:12 2008
@@ -0,0 +1,57 @@
+/*
+ * Copyright 2005,2006 WSO2, Inc. http://www.wso2.org
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.wso2.solutions.identity.report;
+
+public class SummaryReportData {
+
+ public int tokenCount = 0;
+ public int cardCount = 0;
+ public String cardId = null;
+ public String userId = null;
+
+ public int getTokenCount() {
+ return tokenCount;
+ }
+
+ public void setTokenCount(int tokenCount) {
+ this.tokenCount = tokenCount;
+ }
+
+ public int getCardCount() {
+ return cardCount;
+ }
+
+ public void setCardCount(int cardCount) {
+ this.cardCount = cardCount;
+ }
+
+ public String getCardId() {
+ return cardId;
+ }
+
+ public void setCardId(String cardId) {
+ this.cardId = cardId;
+ }
+
+ public String getUserId() {
+ return userId;
+ }
+
+ public void setUserId(String userId) {
+ this.userId = userId;
+ }
+
+}
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev