portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r209690 - in /portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo: ./ UserAttributeRetrievalException.java UserAttributeSource.java UserInfoManager.java
Date Fri, 08 Jul 2005 01:04:51 GMT
Author: taylor
Date: Thu Jul  7 18:04:50 2005
New Revision: 209690

URL: http://svn.apache.org/viewcvs?rev=209690&view=rev
Log:
Implemented JS2-301
Also moved the interfaces for UserInfo into Jetspeed API

http://issues.apache.org/jira/browse/JS2-301

Im going to leave this issue open since the unit test is failing currently
Will get it fixed in next 24 hrs

Added:
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeRetrievalException.java
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeSource.java
    portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserInfoManager.java
      - copied unchanged from r209562, portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/userinfo/UserInfoManager.java

Added: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeRetrievalException.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeRetrievalException.java?rev=209690&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeRetrievalException.java
(added)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeRetrievalException.java
Thu Jul  7 18:04:50 2005
@@ -0,0 +1,31 @@
+/* Copyright 2004 Apache Software Foundation
+*
+* 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.apache.jetspeed.userinfo;
+
+/**
+ * User Attribute Retrieval Exceptions
+ * 
+ * @author <a href="mailto:KeithGarry.Boyce@bcbsma.com">Keith Garry Boyce</a>
+ * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
+ * @version $Id: $
+ */
+public class UserAttributeRetrievalException extends Exception 
+{
+	public UserAttributeRetrievalException(Exception e) 
+    {		
+		super(e);
+	}
+
+}

Added: portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeSource.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeSource.java?rev=209690&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeSource.java
(added)
+++ portals/jetspeed-2/trunk/jetspeed-api/src/java/org/apache/jetspeed/userinfo/UserAttributeSource.java
Thu Jul  7 18:04:50 2005
@@ -0,0 +1,36 @@
+/* Copyright 2004 Apache Software Foundation
+*
+* 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.apache.jetspeed.userinfo;
+
+
+import java.util.Collection;
+import java.util.Map;
+
+import javax.security.auth.Subject;
+
+import org.apache.jetspeed.request.RequestContext;
+
+/**
+ * Required Interface for a User Attribute Source
+ * 
+ * @author <a href="mailto:KeithGarry.Boyce@bcbsma.com">Keith Garry Boyce</a>
+ * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
+ * @version $Id: $
+ */
+public interface UserAttributeSource 
+{	
+	Map getUserAttributeMap(Subject subject, Collection userAttributeRefs, RequestContext context)

+        throws UserAttributeRetrievalException;
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message