portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/components/sso/src/java/org/apache/jetspeed/sso/impl PersistenceBrokerSSOProvider.java
Date Thu, 13 Jan 2005 22:16:59 GMT
taylor      2005/01/13 14:16:59

  Modified:    components/sso/src/java/org/apache/jetspeed/sso/impl
                        PersistenceBrokerSSOProvider.java
  Log:
  lookup SSO by URL, not name
  
  Revision  Changes    Path
  1.13      +2 -2      jakarta-jetspeed-2/components/sso/src/java/org/apache/jetspeed/sso/impl/PersistenceBrokerSSOProvider.java
  
  Index: PersistenceBrokerSSOProvider.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/components/sso/src/java/org/apache/jetspeed/sso/impl/PersistenceBrokerSSOProvider.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- PersistenceBrokerSSOProvider.java	4 Jan 2005 23:17:45 -0000	1.12
  +++ PersistenceBrokerSSOProvider.java	13 Jan 2005 22:16:59 -0000	1.13
  @@ -662,10 +662,10 @@
   	    return null;
   	}
       
  -    public SSOSite getSite(String siteName)
  +    public SSOSite getSite(String siteUrl)
       {
           Criteria filter = new Criteria();
  -        filter.addEqualTo("name", siteName);
  +        filter.addEqualTo("url", siteUrl);
           Query query = QueryFactory.newQuery(SSOSiteImpl.class, filter);
           SSOSite site = (SSOSite) getPersistenceBrokerTemplate().getObjectByQuery(query);
           return site;       
  
  
  

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


Mime
View raw message