Skip to main content

[identity-api-spec commits] [identity-api-spec~git:9692f18a] javadoc edit (separated package description sentence).

  • From: monzillo@...
  • To: commits@...
  • Subject: [identity-api-spec commits] [identity-api-spec~git:9692f18a] javadoc edit (separated package description sentence).
  • Date: Mon, 26 Aug 2013 19:37:29 +0000

Project:    identity-api-spec
Repository: git
Revision:   9692f18a7afd08ec0de82817d43c75b978f3fe68
Author:     monzillo
Date:       2013-08-26 19:37:06 UTC
Link:       

Log Message:
------------
javadoc edit (added clarified interface description sentence).
javadoc edit (separated interface description sentence).
javadoc edit (simplified package description sentence).
javadoc edit (separated package description sentence).


Revisions:
----------
eccc8b689cb29cecd75867faa33f49c35b809824
3f3324d7941555653b83a7e9487c9a70a7ec6fd2
3f62b529f35890303fa78a5d28630478ca036f31
9692f18a7afd08ec0de82817d43c75b978f3fe68


Modified Paths:
---------------
IdentityApiGit/src/main/java/javax/security/identity/permission/ServiceAction.java
IdentityApiGit/src/main/java/javax/security/identity/permission/PermissionAction.java
IdentityApiGit/src/main/java/javax/security/identity/permission/package-info.java
IdentityApiGit/src/main/java/javax/security/identity/permission/AttributeRepositoryPermission.java


Diffs:
------
--- 
a/IdentityApiGit/src/main/java/javax/security/identity/permission/ServiceAction.java
+++ 
b/IdentityApiGit/src/main/java/javax/security/identity/permission/ServiceAction.java
@@ -16,7 +16,8 @@
 package javax.security.identity.permission;
 
 /**
- * Actions used to protect access to the service interfaces of 
AttributeService.
+ * Actions used to characterize protection of the service interfaces of the
+ * attribute service.
  * 
  * @author ronmonzillo
  */

--- 
a/IdentityApiGit/src/main/java/javax/security/identity/permission/PermissionAction.java
+++ 
b/IdentityApiGit/src/main/java/javax/security/identity/permission/PermissionAction.java
@@ -17,13 +17,14 @@ package javax.security.identity.permission;
 
 /**
  * Base interface implemented by the action values of the 
- * AttributeServicePermission. A type T must be defined
- * <T extends Enum<T> & PermissionAction> to be used as
+ * AttributeServicePermission. 
+ * 
+ * A type T must be defined <T extends Enum<T> & PermissionAction> to be 
used as
  * an action in an AttributeServicePermission.
  * 
  * @author ronmonzillo
  */
 
-public interface PermissionAction<T> {
+public interface PermissionAction<E extends Enum<E>> {
     
 }

--- 
a/IdentityApiGit/src/main/java/javax/security/identity/permission/package-info.java
+++ 
b/IdentityApiGit/src/main/java/javax/security/identity/permission/package-info.java
@@ -15,7 +15,7 @@
 */
 
 /**
- * This package contains the permission used to protect the interfaces of
- * the Identity API.
+ * Package containing the permission and actions values used to protect the
+ * interfaces of the attribute service.
  */
 package javax.security.identity.permission;

--- 
a/IdentityApiGit/src/main/java/javax/security/identity/permission/AttributeRepositoryPermission.java
+++ 
b/IdentityApiGit/src/main/java/javax/security/identity/permission/AttributeRepositoryPermission.java
@@ -26,6 +26,7 @@ import javax.security.identity.client.RepositoryDescriptor;
 
 /**
  * Permission used to protect interfaces of attribute service. 
+ * 
  * This permission does not implement a custom PermissionCollection and 
  * does not support action spanning in permission evaluation. 
  *
@@ -274,7 +275,7 @@ public class AttributeRepositoryPermission<E extends 
Enum<E> & PermissionAction>
     public AttributeRepositoryPermission(RepositoryDescriptor descriptor, 
Class<E> enumType, E... actions) {
         super(getPermissionName(descriptor));
         this._descriptor = descriptor;
-        // cas of no action arguments comes in as a 0 length array
+        // case of no action arguments comes in as a 0 length array
         this._actionSet = getEnumSet(enumType, actions);
         this._enumType = enumType;
     }





[identity-api-spec commits] [identity-api-spec~git:9692f18a] javadoc edit (separated package description sentence).

monzillo 08/26/2013
 
 
Close
loading
Please Confirm
Close