taylor      2005/01/04 15:18:04

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/sso
                        SSOContext.java SSOProvider.java
  Log:
  continued work on SSO Admin -- details view is now attached to the current 
row of the SSO Browser
  still under construction
  
  changed SSOContext API
  
  Revision  Changes    Path
  1.2       +7 -5      
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOContext.java
  
  Index: SSOContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOContext.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SSOContext.java   16 Nov 2004 19:03:35 -0000      1.1
  +++ SSOContext.java   4 Jan 2005 23:18:04 -0000       1.2
  @@ -16,15 +16,17 @@
   package org.apache.jetspeed.sso;
   
   /**
  -* <p>Utility component to handle SSO requests</p>
  +* <p>Represents SSO Remote and Portal principal and credentials</p>
   * 
   * @author <a href="mailto:[EMAIL PROTECTED]">Roger Ruttimann</a>
   */
   
  -public interface SSOContext {
  +public interface SSOContext 
  +{
   
        // Getters only. The interface shouldn't allow any changes
  -     public long             getUserID();
  -     public String   getUserName();
  -     public String   getPassword();
  +     public long             getRemotePrincipalId();
  +    public String   getPortalPrincipalName();
  +     public String   getRemotePrincipalName();
  +     public String   getRemoteCredential();
   }
  
  
  
  1.7       +10 -0     
jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOProvider.java
  
  Index: SSOProvider.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/sso/SSOProvider.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SSOProvider.java  3 Jan 2005 08:13:37 -0000       1.6
  +++ SSOProvider.java  4 Jan 2005 23:18:04 -0000       1.7
  @@ -15,6 +15,7 @@
   package org.apache.jetspeed.sso;
   
   import java.util.Iterator;
  +import java.util.List;
   
   import javax.security.auth.Subject;
   
  @@ -50,6 +51,15 @@
       
        void removeCredentialsForSite(Subject subject, String site)  
           throws SSOException;
  +    
  +    /**
  +     * return a list of SSOContext objects containing 
  +     * both the portal principal, remote principal, and credentials
  +     * 
  +     * @param site
  +     * @return list SSOContext objects 
  +     */
  +    List getPrincipalsForSite(SSOSite site);
       
       Iterator getSites(String filter);
       
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to