portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/security/om InternalPrincipal.java
Date Mon, 11 Oct 2004 23:25:56 GMT
dlestrat    2004/10/11 16:25:56

  Modified:    jetspeed-api/src/java/org/apache/jetspeed/security/om
                        InternalPrincipal.java
  Log:
  http://nagoya.apache.org/jira/browse/JS2-133#action_53917
  
  Revision  Changes    Path
  1.2       +94 -30    jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/security/om/InternalPrincipal.java
  
  Index: InternalPrincipal.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/security/om/InternalPrincipal.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InternalPrincipal.java	18 Sep 2004 19:36:10 -0000	1.1
  +++ InternalPrincipal.java	11 Oct 2004 23:25:56 -0000	1.2
  @@ -19,100 +19,164 @@
   import java.sql.Timestamp;
   
   /**
  - * <p>Interface representing a policy principal.  This will be used by the 
  - * {@link org.apache.jetspeed.security.impl.RdbmsPolicy} to retrieve specify
  - * which permissions are applied on which principal according to the JAAS policy:</p>
  + * <p>
  + * Interface representing a policy principal. This will be used by the
  + * {@link org.apache.jetspeed.security.impl.RdbmsPolicy}to retrieve specify
  + * which permissions are applied on which principal according to the JAAS
  + * policy:
  + * </p>
  + * 
    * <pre>
  - * <code>grant [SignedBy "signer_names"] [, CodeBase "URL"]
  - *             [, InternalPrincipal [principal_class_name] "principal_name"]
  - *             [, InternalPrincipal [principal_class_name] "principal_name"] ... 
  - *       {
  - *                  permission permission_class_name [ "target_name" ] 
  - *                                                   [, "action"] [, SignedBy "signer_names"];
  - *                  permission ...
  - *       };
  + * <code>
  + * grant [SignedBy &quot;signer_names&quot;] [, CodeBase &quot;URL&quot;]
  + *              [, InternalPrincipal [principal_class_name] &quot;principal_name&quot;]
  + *              [, InternalPrincipal [principal_class_name] &quot;principal_name&quot;]
... 
  + *        {
  + *                   permission permission_class_name [ &quot;target_name&quot;
] 
  + *                                                    [, &quot;action&quot;] [,
SignedBy &quot;signer_names&quot;];
  + *                   permission ...
  + *        };
  + *  
    * </code>
    * </pre>
  - * @author <a href="mailto:dlestrat@apache.org">David Le Strat</a>
  + * 
  + * @author <a href="mailto:dlestrat@apache.org">David Le Strat </a>
    */
   public interface InternalPrincipal extends Serializable, Cloneable
   {
   
       /**
  -     * <p>Getter for the principal id.</p>
  +     * <p>
  +     * Getter for the principal id.
  +     * </p>
  +     * 
        * @return The principal id.
        */
       long getPrincipalId();
   
       /**
  -     * <p>Setter for the principal id.</p>
  +     * <p>
  +     * Setter for the principal id.
  +     * </p>
  +     * 
        * @param principalId The principal id.
        */
       void setPrincipalId(long principalId);
   
       /**
  -     * <p>Getter for the principal classname.</p>
  +     * <p>
  +     * Getter for the principal classname.
  +     * </p>
  +     * 
        * @return The principal classname.
        */
       String getClassname();
   
       /**
  -     * <p>Setter for the principal classname.</p>
  +     * <p>
  +     * Setter for the principal classname.
  +     * </p>
  +     * 
        * @param classname The principal classname.
        */
       void setClassname(String classname);
   
  - 
       /**
  -     * <p>Getter for the principal full path.</p>
  -     * <p>The full path allows to retrieve the principal preferences from
  -     * the preferences services.</p>
  +     * <p>
  +     * Getter for isMappingOnly.
  +     * </p>
  +     * 
  +     * @return The isMappingOnly.
  +     */
  +    boolean isMappingOnly();
  +
  +    /**
  +     * <p>
  +     * Setter for isMappingOnly.
  +     * </p>
  +     * 
  +     * @param isMappingOnly The isMappingOnly.
  +     */
  +    void setMappingOnly(boolean isMappingOnly);
  +
  +    /**
  +     * <p>
  +     * Getter for the principal full path.
  +     * </p>
  +     * <p>
  +     * The full path allows to retrieve the principal preferences from the
  +     * preferences services.
  +     * </p>
  +     * 
        * @return The principal full path.
        */
       String getFullPath();
   
       /**
  -     * <p>Setter for the principal name.</p>
  -     * <p>The full path allows to retrieve the principal preferences from
  -     * the preferences services.</p>
  +     * <p>
  +     * Setter for the principal name.
  +     * </p>
  +     * <p>
  +     * The full path allows to retrieve the principal preferences from the
  +     * preferences services.
  +     * </p>
  +     * 
        * @param fullPath The principal full path.
        */
       void setFullPath(String fullPath);
   
       /**
  -     * <p>Getter for the principal permissions.</p>
  +     * <p>
  +     * Getter for the principal permissions.
  +     * </p>
  +     * 
        * @return The principal permissions.
        */
       Collection getPermissions();
   
       /**
  -     * <p>Setter for the principal permissions.</p>
  +     * <p>
  +     * Setter for the principal permissions.
  +     * </p>
  +     * 
        * @param permissions The principal permissions.
        */
       void setPermissions(Collection permissions);
   
       /**
  -     * <p>Getter for creation date.</p>
  +     * <p>
  +     * Getter for creation date.
  +     * </p>
  +     * 
        * @return The creation date.
        */
       Timestamp getCreationDate();
   
       /**
  -     * <p>Setter for the creation date.</p>
  +     * <p>
  +     * Setter for the creation date.
  +     * </p>
  +     * 
        * @param creationDate The creation date.
        */
       void setCreationDate(Timestamp creationDate);
   
       /**
  -     * <p>Getter for the modified date.</p>
  +     * <p>
  +     * Getter for the modified date.
  +     * </p>
  +     * 
        * @return The modified date.
        */
       Timestamp getModifiedDate();
   
       /**
  -     * <p>Setter for the modified date.</p>
  +     * <p>
  +     * Setter for the modified date.
  +     * </p>
  +     * 
        * @param modifiedDate The modified date.
        */
       void setModifiedDate(Timestamp modifiedDate);
   
  -}
  +}
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
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