You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ro...@apache.org on 2004/12/04 23:27:19 UTC
cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso SSOSite.java SSOException.java
rogerrut 2004/12/04 14:27:19
Modified: jetspeed-api/src/java/org/apache/jetspeed/sso SSOSite.java
SSOException.java
Log:
Fix for SSO
Entries where not unique to a user/site which required an new association table (SSO_SITE_TO_REMOTE)
Re factored the code for the API to include the mapping table
Updated Unit test
Revision Changes Path
1.3 +10 -0 jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOSite.java
Index: SSOSite.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOSite.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SSOSite.java 30 Nov 2004 18:18:13 -0000 1.2
+++ SSOSite.java 4 Dec 2004 22:27:19 -0000 1.3
@@ -123,4 +123,14 @@
*
*/
public void removePrincipal(long principalId) throws SSOException;
+
+ /**
+ * getRemotePrincipals
+ */
+ public Collection getRemotePrincipals();
+
+ /**
+ * setRemotePrincipals
+ */
+ public void setRemotePrincipals(Collection remotePrincipals);
}
1.3 +3 -0 jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOException.java
Index: SSOException.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SSOException.java 22 Nov 2004 06:11:34 -0000 1.2
+++ SSOException.java 4 Dec 2004 22:27:19 -0000 1.3
@@ -49,6 +49,9 @@
/** <p>Could not add Principal from SITE mapping table.</p> */
public static final String FAILED_ADDING_PRINCIPAL_TO_MAPPING_TABLE_FOR_SITE = "Could not add Principal from SITE mapping table.";
+ /** <p>Site/principal has remote principal. Calll update.</p> */
+ public static final String REMOTE_PRINCIPAL_EXISTS_CALL_UPDATE = "Site/principal has remote principal. Calll update";
+
/**
* <p>Default Constructor.</p>
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org