You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2016/01/07 14:40:02 UTC
[2/5] directory-fortress-core git commit: Many javadoc fixes
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/OrgUnit.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/OrgUnit.java b/src/main/java/org/apache/directory/fortress/core/model/OrgUnit.java
index 423d92d..e268e63 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/OrgUnit.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/OrgUnit.java
@@ -48,10 +48,10 @@ import javax.xml.bind.annotation.XmlType;
* provide enough information to uniquely identity the entity target within ldap.<br>
* For example, this entity requires {@link #name} and {@link #type} set before passing into {@link org.apache.directory.fortress.core.impl.DelAdminMgrImpl} or {@link org.apache.directory.fortress.core.impl.DelReviewMgrImpl} APIs.
* Create methods usually require more attributes (than Read) due to constraints enforced between entities.
- * <p/>
+ * <p>
* This entity implements both User and Permission OU pool functionality that defines org membership of entities for ARBAC02 style admin checks..
* <br>The unique key to locate an OrgUnit entity (which is subsequently assigned both to Users and Permissions) is 'OrgUnit.name' and 'OrgUnit.Type'.<br>
- * <p/>
+ * <p>
* An OrgUnit name may contain alphanumeric and simple symbols that are safe text (.,:;-_). Any non-safe text will be
* encoded before persistence. Valid names include:
* <ol>
@@ -66,34 +66,34 @@ import javax.xml.bind.annotation.XmlType;
* <li>1_2_3</li>
* <li>etc...</li>
* </ol>
- * <p/>
+ * <p>
* There is a Many-to-One relationship between a User and OrgUnit.
* <h3>{@link User}*<->1 {@link OrgUnit}</h3>
- * <p/>
+ * <p>
* There is a Many-to-One relationship between a {@link PermObj} object and {@link OrgUnit}.
* <h3>{@link PermObj}*<->1 {@link OrgUnit}</h3>
- * <p/>
+ * <p>
* Example to create new ARBAC User OrgUnit:
- * <p/>
+ * <p>
* <code>OrgUnit myUserOU = new OrgUnit("MyUserOrgName", OrgUnit.Type.USER);</code><br>
* <code>myUserOU.setDescription("This is a test User OrgUnit");</code><br>
* <code>DelAdminMgr delAdminMgr = DelAdminMgrFactory.createInstance();</code><br>
* <code>delAdminMgr.add(myUserOU);</code><br>
- * <p/>
+ * <p>
* This will create a User OrgUnit that can be used as a target for User OU and AdminRole OS-U assignments.
- * <p/>
+ * <p>
* Example to create new ARBAC Perm OrgUnit:
- * <p/>
+ * <p>
* <code>OrgUnit myPermOU = new OrgUnit("MyPermOrgName", OrgUnit.Type.PERM);</code><br>
* <code>myPermOU.setDescription("This is a test Perm OrgUnit");</code><br>
* <code>DelAdminMgr delAdminMgr = DelAdminMgrFactory.createInstance();</code><br>
* <code>delAdminMgr.add(myPermOU);</code><br>
- * <p/>
+ * <p>
* This will create a Perm OrgUnit that can be used as a target for Perm OU and AdminRole OS-P assignments.
- * <p/>
+ * <p>
* <h4>OrgUnit Schema</h4>
* The Fortress OrgUnit entity is a composite of the following other Fortress structural and aux object classes:
- * <p/>
+ * <p>
* 1. organizationalUnit Structural Object Class is used to store basic attributes like ou and description.
* <pre>
* ------------------------------------------
@@ -112,7 +112,7 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* 2. ftOrgUnit Structural objectclass is used to store the OrgUnit internal id.
* <pre>
* ------------------------------------------
@@ -131,7 +131,7 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* 3. ftMods AUXILIARY Object Class is used to store Fortress audit variables on target entity.
* <pre>
* ------------------------------------------
@@ -148,7 +148,6 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@@ -411,7 +410,7 @@ public class OrgUnit extends FortEntity implements Graphable, Serializable
/**
- * @param thatObj
+ * @param thatObj The OrgUnit to compare
* @return boolean value of 'true if objects match
*/
public boolean equals( Object thatObj )
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/OrgUnitRelationship.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/OrgUnitRelationship.java b/src/main/java/org/apache/directory/fortress/core/model/OrgUnitRelationship.java
index 8c3d867..95be86c 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/OrgUnitRelationship.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/OrgUnitRelationship.java
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
/**
* This entity is used by en masse to communicate parent and child {@link OrgUnit} information to the server.
- * <p/>
+ *
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@XmlRootElement(name = "fortOrgUnitRelationship")
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/OrganizationalUnit.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/OrganizationalUnit.java b/src/main/java/org/apache/directory/fortress/core/model/OrganizationalUnit.java
index 73f3d5c..1d2b9b6 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/OrganizationalUnit.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/OrganizationalUnit.java
@@ -24,7 +24,7 @@ package org.apache.directory.fortress.core.model;
* This class contains the container node for the OpenLDAP Directory Information Tree. A container node is used to
* group other related nodes, i.e. 'ou=People' or 'ou'Roles'.
* <br>The organizational unit object class is 'organizationalUnit' <br>
- * <p/>
+ * <p>
* organizational unit structural object class is used to organize groups of nodes within the DIT.
* <ul>
* <li> ------------------------------------------
@@ -41,7 +41,6 @@ package org.apache.directory.fortress.core.model;
* <li> <code>postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )</code>
* <li> ------------------------------------------
* </ul>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/PermGrant.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/PermGrant.java b/src/main/java/org/apache/directory/fortress/core/model/PermGrant.java
index fa47916..8d334d1 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/PermGrant.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/PermGrant.java
@@ -31,7 +31,6 @@ import javax.xml.bind.annotation.XmlType;
* RBAC {@link Role}, or ARBAC {@link AdminRole}.
* Can also be used to grant Permissions directly to {@link User}s.
* This entity is used for Ant and En Masse processing only.
- * <p/>
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/PermObj.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/PermObj.java b/src/main/java/org/apache/directory/fortress/core/model/PermObj.java
index c55d3e8..6bf0410 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/PermObj.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/PermObj.java
@@ -49,29 +49,29 @@ import javax.xml.bind.annotation.XmlType;
* provide enough information to uniquely identity the entity target within ldap.<br>
* For example, this entity requires {@link #objName} and {@link #ou} attributes set before passing into {@link org.apache.directory.fortress.core.impl.AdminMgrImpl} or {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl} APIs.
* Create methods usually require more attributes (than Read) due to constraints enforced between entities.
- * <p/>
+ * <p>
* <h4>PermObj entity attribute usages include</h4>
* <ul>
* <li>{@link #setObjName} and {@link #setOu} attributes set before calling {@link org.apache.directory.fortress.core.impl.AdminMgrImpl#addPermObj(PermObj)}.
* <li>{@link #addProperty} may be set before calling {@link org.apache.directory.fortress.core.impl.AdminMgrImpl#addPermObj(PermObj)}.
* <li>{@link #getProperty} may be set after calling {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl#findPermObjs(PermObj)}.
* </ul>
- * <p/>
+ * <p>
* <h4>More Permission entity notes</h4>
* <ul>
* <li>The {@link PermObj} entity is not used for authorization checks, rather contains {@link org.apache.directory.fortress.core.model.Permission} which are themselves authorization targets.<br>
* <li>This entity must be associated with a valid Perm OU {@link org.apache.directory.fortress.core.model.OrgUnit.Type#PERM} that is contained within the {@code ou=OS-P,ou=ARBAC,dc=example,dc=com} location in ldap.
* <li>The object to operation pairings enable application resources to be mapped to Fortress permissions in a way that is natural for object oriented programming.
* <li>Permissions = Object {@link PermObj} 1<->* Operations {@link org.apache.directory.fortress.core.model.Permission}
- * <p/>
- * <img src="../doc-files/RbacCore.png">
+ * <p>
+ * <img src="../doc-files/RbacCore.png" alt="">
* <li>The unique key to locate an Fortress PermObj entity is {@code PermObj#objName}.
* <li>For sample code usages check out {@link org.apache.directory.fortress.core.model.Permission} javadoc.
* </ul>
- * <p/>
+ * <p>
* <h4>PermObj Schema</h4>
* The Fortress PermObj Entity Class is a composite of 3 different LDAP Schema object classes:
- * <p/>
+ * <p>
* 1. ftObject STRUCTURAL Object Class is used to store object name, id and type variables on target entity.
* <pre>
* Fortress Permission Structural Object Class
@@ -104,7 +104,7 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* 3. ftMods AUXILIARY Object Class is used to store Fortress audit variables on target entity.
* <pre>
* ------------------------------------------
@@ -121,7 +121,6 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/Permission.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/Permission.java b/src/main/java/org/apache/directory/fortress/core/model/Permission.java
index a42d52c..cb06738 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/Permission.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/Permission.java
@@ -52,44 +52,75 @@ import javax.xml.bind.annotation.XmlType;
)
*/
/**
- * All entities ({@link User}, {@link Role}, {@link Permission},
- * {@link PwPolicy} {@link SDSet} etc...) are used to carry data between three Fortress
- * layers.starting with the (1) Manager layer down thru middle (2) Process layer and it's processing rules into
- * (3) DAO layer where persistence with the LDAP server occurs.
+ * All entities ({@link User}, {@link Role}, {@link Permission}, {@link PwPolicy} {@link SDSet} etc...) are used to carry
+ * data between three Fortress layers, starting with the (1) Manager layer down thru middle (2) Process layer and it's
+ * processing rules into (3) DAO layer where persistence with the LDAP server occurs.
+ * <h3></h3>
* <h4>Fortress Processing Layers</h4>
* <ol>
- * <li>Manager layer: {@link org.apache.directory.fortress.core.impl.AdminMgrImpl}, {@link org.apache.directory.fortress.core.impl.AccessMgrImpl}, {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl},...</li>
- * <li>Process layer: {@link org.apache.directory.fortress.core.impl.UserP}, {@link org.apache.directory.fortress.core.impl.RoleP}, {@link org.apache.directory.fortress.core.impl.PermP},...</li>
- * <li>DAO layer: {@link org.apache.directory.fortress.core.impl.UserDAO}, {@link org.apache.directory.fortress.core.impl.RoleDAO}, {@link org.apache.directory.fortress.core.impl.PermDAO},...</li>
+ * <li>
+ * Manager layer: {@link org.apache.directory.fortress.core.impl.AdminMgrImpl},
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl},
+ * {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl},...
+ * </li>
+ * <li>
+ * Process layer: {@link org.apache.directory.fortress.core.impl.UserP},
+ * {@link org.apache.directory.fortress.core.impl.RoleP}, {@link org.apache.directory.fortress.core.impl.PermP},...
+ * </li>
+ * <li>
+ * DAO layer: {@link org.apache.directory.fortress.core.impl.UserDAO},
+ * {@link org.apache.directory.fortress.core.impl.RoleDAO}, {@link org.apache.directory.fortress.core.impl.PermDAO},...
+ * </li>
* </ol>
* Fortress clients first instantiate and populate a data entity before invoking any of the Manager APIs. The caller must
* provide enough information to uniquely identity the entity target within ldap.<br>
- * For example, this entity requires {@link #setObjName} and {@link #setOpName} attributes set before passing into {@link org.apache.directory.fortress.core.impl.AccessMgrImpl} APIs.
+ * For example, this entity requires {@link #setObjName} and {@link #setOpName} attributes set before passing into
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl} APIs.
* Create methods usually require more attributes (than Read) due to constraints enforced between entities.
- * <p/>
* <h4>Permission entity attribute usages include</h4>
* <ul>
- * <li>{@link #setObjName} and {@link #setOpName} attributes set before calling {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#checkAccess(Session, Permission)}.
- * <li>{@link #getRoles} may be set after calling {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl#readPermission(Permission)} or {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#sessionPermissions(Session)}.
- *
- * <li>{@link #getUsers} may be set after calling {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl#readPermission(Permission)} or {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#sessionPermissions(Session)}.
- *
+ * <li>
+ * {@link #setObjName} and {@link #setOpName} attributes set before calling
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#checkAccess(Session, Permission)}.
+ * </li>
+ * <li>
+ * {@link #getRoles} may be set after calling
+ * {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl#readPermission(Permission)} or
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#sessionPermissions(Session)}.
+ * </li>
+ * <li>
+ * {@link #getUsers} may be set after calling
+ * {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl#readPermission(Permission)} or
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#sessionPermissions(Session)}.
+ * </li>
* </ul>
- * <p/>
* <h4>More Permission entity notes</h4>
* <ul>
- * <li>The unique key to locate a Permission entity (which is required for all authZ requests) is {@link Permission#objName} and {@link Permission#opName}.<br>
- * <li>The Permission entity is used to target function points within computer programs needing authorization. This permission model allows a one-to-many relationship between the objects {@link PermObj} and operations {@link Permission}.
- * <p/>
- * <img src="../doc-files/RbacCore.png">
- * <li>The object to operation pairings enable application resources to be mapped to Fortress permissions in a way that is natural for object oriented programming.
- * <li>Permissions = Object {@link PermObj} 1<->* Operations {@link Permission}
- * <li>Permissions in Fortress may also be assigned directly to {@link #users}.
- * <li>Objects {@link #objName}, Operations {@link #opName}, Roles {@link #roles}, Users {@link #users} are not case sensitive for reads or searches.
+ * <li>
+ * The unique key to locate a Permission entity (which is required for all authZ requests) is {@link Permission#objName}
+ * and {@link Permission#opName}.<br>
+ * </li>
+ * <li>
+ * The Permission entity is used to target function points within computer programs needing authorization. This
+ * permission model allows a one-to-many relationship between the objects {@link PermObj} and operations
+ * {@link Permission}.
+ * <p>
+ * <img src="../doc-files/RbacCore.png" alt="">
+ * </li>
+ * <li>
+ * The object to operation pairings enable application resources to be mapped to Fortress permissions in a way that is
+ * natural for object oriented programming.
+ * </li>
+ * <li>Permissions = Object {@link PermObj} 1<->* Operations {@link Permission}</li>
+ * <li>Permissions in Fortress may also be assigned directly to {@link #users}.</li>
+ * <li>
+ * Objects {@link #objName}, Operations {@link #opName}, Roles {@link #roles}, Users {@link #users} are not case
+ * sensitive for reads or searches.
+ * </li>
* </ul>
- * <p/>
- * The application entity that requires authorization will be mapped to the {@link PermObj} entity and the application's methods or operation names
- * will be mapped to {@link Permission} entities.
+ * <p>
+ * The application entity that requires authorization will be mapped to the {@link PermObj} entity and the application's
+ * methods or operation names will be mapped to {@link Permission} entities.
* For example, the application entity 'ShoppingCart' has 5 operations - 'create', 'read', 'update', 'delete' and 'checkout'.
* The following code will create the permissions and perform the necessary grants.
* <pre>
@@ -130,23 +161,26 @@ import javax.xml.bind.annotation.XmlType;
* // log or throw
* }
* </pre>
- * <p/>
* <h4>Notes on the shopping cart example</h4>
* <ul>
- * <li> {@link User} that activate 'Manager' role into their Sessions will be allowed access to 'ShoppingCart.delete' permission.
- * <li> {@link User} that activate 'Admin' role may perform 'ShoppingCart.update'.
- * <li> {@link User} with 'Customer' role may perform the 'ShoppingCart.create' 'ShoppingCart.read and 'ShoppingCart.checkout'.
- * <li> {@link Role}s must exist in ldap before assignment here, see javadoc {@link Role} for details.
- * <p/>
+ * <li>
+ * {@link User} that activate 'Manager' role into their Sessions will be allowed access to 'ShoppingCart.delete'
+ * permission.
+ * </li>
+ * <li>{@link User} that activate 'Admin' role may perform 'ShoppingCart.update'.</li>
+ * <li>
+ * {@link User} with 'Customer' role may perform the 'ShoppingCart.create' 'ShoppingCart.read and
+ * 'ShoppingCart.checkout'.
+ * </li>
+ * <li>{@link Role}s must exist in ldap before assignment here, see javadoc {@link Role} for details.</li>
* </ul>
- * <p/>
* <h4>Permission Schema</h4>
* This Permission entity extends a single standard ldap structural object class, {@code organizationalRole} with
* one extension structural class, {@code ftOperation}, and two auxiliary object classes, {@code ftProperties}, {@code ftMods}.
* The following 3 LDAP object classes will be mapped into this entity:
- * <p/>
- * 1. {@code ftOperation} STRUCTURAL Object Class is assigned roles and/or users which grants permissions which can be later checked
- * using either 'checkAccess' or 'sessionPermissions APIs both methods that reside in the 'AccessMgrImpl' class.
+ * <p>
+ * 1. {@code ftOperation} STRUCTURAL Object Class is assigned roles and/or users which grants permissions which can be later
+ * checked using either 'checkAccess' or 'sessionPermissions APIs both methods that reside in the 'AccessMgrImpl' class.
* <pre>
* ------------------------------------------
* Fortress Operation Structural Object Class
@@ -167,8 +201,11 @@ import javax.xml.bind.annotation.XmlType;
* ftUsers $
* ftType
* )
- * )
- * 2. {@code ftProperties} AUXILIARY Object Class is used to store optional client or otherwise custom name/value pairs on target entity.<br>
+ * )
+ * ------------------------------------------
+ * </pre>
+ * 2. {@code ftProperties} AUXILIARY Object Class is used to store optional client or otherwise custom name/value pairs on
+ * target entity.<br>
* <code># This aux object class can be used to store custom attributes.</code><br>
* <code># The properties collections consist of name/value pairs and are not constrainted by Fortress.</code><br>
* <pre>
@@ -184,7 +221,6 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
* 3. {@code ftMods} AUXILIARY Object Class is used to store Fortress audit variables on target entity.
* <pre>
* ------------------------------------------
@@ -201,7 +237,6 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@@ -402,9 +437,10 @@ public class Permission extends FortEntity implements Serializable
/**
- * This attribute is required and sets the authorization target object name. This name is typically derived from the class name
- * for component that is the target for Fortress authorization check. For example 'CustomerCheckOutPage'.
- *
+ * This attribute is required and sets the authorization target object name. This name is typically derived from the
+ * class name for component that is the target for Fortress authorization check. For example 'CustomerCheckOutPage'.
+ *
+ * @param objName The target object name
*/
public void setObjName( String objName )
{
@@ -642,7 +678,7 @@ public class Permission extends FortEntity implements Serializable
* Properties are optional.
*
* @param key contains property name and maps to 'ftProps' attribute in 'ftProperties' aux object class.
- * @param value
+ * @param value The property value
*/
public void addProperty( String key, String value )
{
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/Props.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/Props.java b/src/main/java/org/apache/directory/fortress/core/model/Props.java
index 6d71147..189ec02 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/Props.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/Props.java
@@ -35,9 +35,9 @@ import java.util.List;
* This class is thread safe.
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * <p/>
+ * <p>
* <p>The following schema fragment specifies the expected content contained within this class.
- * <p/>
+ * <p>
* <pre>
* <complexType>
* <complexContent>
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/PwMessage.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/PwMessage.java b/src/main/java/org/apache/directory/fortress/core/model/PwMessage.java
index 308168f..af373aa 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/PwMessage.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/PwMessage.java
@@ -26,8 +26,6 @@ import java.util.List;
/**
* Interface is implemented by {@link org.apache.directory.fortress.core.model.Session} and prescribes methods used to return Fortress
* password messages to the caller.
- * <p/>
-
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/PwPolicy.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/PwPolicy.java b/src/main/java/org/apache/directory/fortress/core/model/PwPolicy.java
index 3d43269..cd88887 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/PwPolicy.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/PwPolicy.java
@@ -29,34 +29,36 @@ import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
- * This class contains the Password Policy entity which is used to pass directives into and out of ldap.
- * <br>The unique key to locate a Policy entity (which is subsequently assigned to Users) is {@link #name}.<br>
- * <p/>
+ * This class contains the Password Policy entity which is used to pass directives into and out of ldap.<br>
+ * The unique key to locate a Policy entity (which is subsequently assigned to Users) is {@link #name}.
+ * <h3></h3>
* <h4>Password Policies</h4>
- * <a href="http://www.openldap.org/">OpenLDAP</a> supports the IETF draft <a href="http://tools.ietf.org/html/draft-behera-ldap-password-policy-10/">Password Policies for LDAP directories</a></li>. Policies may be applied at the user, group or global level.
- * <p/>
- * <img src="../doc-files/PasswordPolicy.png">
- * <p/>
+ * <a href="http://www.openldap.org/">OpenLDAP</a> supports the IETF draft
+ * <a href="http://tools.ietf.org/html/draft-behera-ldap-password-policy-10/">Password Policies for LDAP directories</a>.
+ * Policies may be applied at the user, group or global level.
+ * <p>
+ * <img src="../doc-files/PasswordPolicy.png" alt="">
+ * <p>
* Password enforcement options include:
* <ol>
- * <li>A configurable limit on failed authentication attempts.</li>
- * <li>A counter to track the number of failed authentication attempts.</li>
- * <li>A time frame in which the limit of consecutive failed authentication attempts must happen before action is taken.</li>
- * <li>The action to be taken when the limit is reached. The action will either be nothing, or the account will be locked.</li>
- * <li>An amount of time the account is locked (if it is to be locked) This can be indefinite.</li>
- * <li>Password expiration.</li>
- * <li>Expiration warning</li>
- * <li>Grace authentications</li>
- * <li>Password history</li>
- * <li>Password minimum age</li>
- * <li>Password minimum length</li>
- * <li>Password Change after Reset</li>
- * <li>Safe Modification of Password</li>
+ * <li>A configurable limit on failed authentication attempts.</li>
+ * <li>A counter to track the number of failed authentication attempts.</li>
+ * <li>A time frame in which the limit of consecutive failed authentication attempts must happen before action is taken.</li>
+ * <li>The action to be taken when the limit is reached. The action will either be nothing, or the account will be locked.</li>
+ * <li>An amount of time the account is locked (if it is to be locked) This can be indefinite.</li>
+ * <li>Password expiration.</li>
+ * <li>Expiration warning</li>
+ * <li>Grace authentications</li>
+ * <li>Password history</li>
+ * <li>Password minimum age</li>
+ * <li>Password minimum length</li>
+ * <li>Password Change after Reset</li>
+ * <li>Safe Modification of Password</li>
* </ol>
- * <p/>
+ * <p>
* <h4>Schema</h4>
* The OpenLDAP Password Policy entity is a composite of the following structural and aux object classes:
- * <p/>
+ * <p>
* 1. organizationalRole Structural Object Class is used to store basic attributes like cn and description.
* <pre>
* ------------------------------------------
@@ -70,14 +72,14 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* 2. pwdPolicy AUXILIARY Object Class is used to store OpenLDAP Password Policies.
* <pre>
* ------------------------------------------
- * objectclass ( 1.3.6.1.4.1.42.2.27.8.2.1</code>
- * NAME 'pwdPolicy'</code>
- * SUP top</code>
- * AUXILIARY</code>
+ * objectclass ( 1.3.6.1.4.1.42.2.27.8.2.1
+ * NAME 'pwdPolicy'
+ * SUP top
+ * AUXILIARY
* MUST (
* pwdAttribute
* )
@@ -90,7 +92,7 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* 3. ftMods AUXILIARY Object Class is used to store Fortress audit variables on target entity.
* <pre>
* ------------------------------------------
@@ -107,7 +109,7 @@ import javax.xml.bind.annotation.XmlType;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@@ -142,7 +144,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.1 pwdAttribute
- * <p/>
+ * <p>
* This holds the name of the attribute to which the password policy is
* applied. For example, the password policy may be applied to the
* userPassword attribute.
@@ -151,7 +153,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.2 pwdMinAge
- * <p/>
+ * <p>
* This attribute holds the number of seconds that must elapse between
* modifications to the password. If this attribute is not present, 0
* seconds is assumed.
@@ -162,10 +164,10 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.3 pwdMaxAge
- * <p/>
+ * <p>
* This attribute holds the number of seconds after which a modified
* password will expire.
- * <p/>
+ * <p>
* If this attribute is not present, or if the value is 0 the password
* does not expire. If not 0, the value must be greater than or equal
* to the value of the pwdMinAge.
@@ -175,10 +177,10 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.4 pwdInHistory
- * <p/>
+ * <p>
* This attribute specifies the maximum number of used passwords stored
* in the pwdHistory attribute.
- * <p/>
+ * <p>
* If this attribute is not present, or if the value is 0, used
* passwords are not stored in the pwdHistory attribute and thus may be
* reused.
@@ -188,7 +190,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.5 pwdCheckQuality
- * <p/>
+ * <p>
* This attribute indicates how the password quality will be verified
* while being modified or added. If this attribute is not present, or
* if the value is '0', quality checking will not be enforced. A value
@@ -203,7 +205,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.6 pwdMinLength
- * <p/>
+ * <p>
* When quality checking is enabled, this attribute holds the minimum
* number of characters that must be used in a password. If this
* attribute is not present, no minimum password length will be
@@ -217,11 +219,11 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.7 pwdExpireWarning
- * <p/>
+ * <p>
* This attribute specifies the maximum number of seconds before a
* password is due to expire that expiration warning messages will be
* returned to an authenticating user.
- * <p/>
+ * <p>
* If this attribute is not present, or if the value is 0 no warnings
* will be returned. If not 0, the value must be smaller than the value
* of the pwdMaxAge attribute.
@@ -231,7 +233,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.8 pwdGraceAuthNLimit
- * <p/>
+ * <p>
* This attribute specifies the number of times an expired password can
* be used to authenticate. If this attribute is not present or if the
* value is 0, authentication will fail.
@@ -241,12 +243,12 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.9 pwdLockout
- * <p/>
+ * <p>
* This attribute indicates, when its value is "TRUE", that the password
* may not be used to authenticate after a specified number of
* consecutive failed bind attempts. The maximum number of consecutive
* failed bind attempts is specified in pwdMaxFailure.
- * <p/>
+ * <p>
* If this attribute is not present, or if the value is "FALSE", the
* password may be used to authenticate when the number of failed bind
* attempts has been reached.
@@ -256,7 +258,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.10 pwdLockoutDuration
- * <p/>
+ * <p>
* This attribute holds the number of seconds that the password cannot
* be used to authenticate due to too many failed bind attempts. If
* this attribute is not present, or if the value is 0 the password
@@ -268,7 +270,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.11 pwdMaxFailure
- * <p/>
+ * <p>
* This attribute specifies the number of consecutive failed bind
* attempts after which the password may not be used to authenticate.
* If this attribute is not present, or if the value is 0, this policy
@@ -279,11 +281,11 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.12 pwdFailureCountInterval
- * <p/>
+ * <p>
* This attribute holds the number of seconds after which the password
* failures are purged from the failure counter, even though no
* successful authentication occurred.
- * <p/>
+ * <p>
* If this attribute is not present, or if its value is 0, the failure
* counter is only reset by a successful authentication.
*/
@@ -292,7 +294,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.13 pwdMustChange
- * <p/>
+ * <p>
* This attribute specifies with a value of "TRUE" that users must
* change their passwords when they first bind to the directory after a
* password is set or reset by a password administrator. If this
@@ -307,7 +309,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.14 pwdAllowUserChange
- * <p/>
+ * <p>
* This attribute indicates whether users can change their own
* passwords, although the change operation is still subject to access
* control. If this attribute is not present, a value of "TRUE" is
@@ -319,7 +321,7 @@ public class PwPolicy extends FortEntity implements Serializable
/**
* 5.2.15 pwdSafeModify
- * <p/>
+ * <p>
* This attribute specifies whether or not the existing password must be
* sent along with the new password when being changed. If this
* attribute is not present, a "FALSE" value is assumed.
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/Relationship.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/Relationship.java b/src/main/java/org/apache/directory/fortress/core/model/Relationship.java
index 8f453d9..eeb3764 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/Relationship.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/Relationship.java
@@ -23,8 +23,6 @@ import java.io.Serializable;
/**
* Contains a parent child data entity that is used for hierarchical processing. This entity is used to construct edges in graphs.
- * <p/>
-
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/Role.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/Role.java b/src/main/java/org/apache/directory/fortress/core/model/Role.java
index 8b78b27..8425a0a 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/Role.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/Role.java
@@ -39,6 +39,7 @@ import javax.xml.bind.annotation.XmlType;
* {@link org.apache.directory.fortress.core.model.PwPolicy} {@link SDSet} etc...) are used to carry data between three
* Fortress layers.starting with the (1) Manager layer down thru middle (2) Process layer and it's processing rules into
* (3) DAO layer where persistence with the OpenLDAP server occurs.
+ * <h3></h3>
* <h4>Fortress Processing Layers</h4>
* <ol>
* <li>
@@ -87,7 +88,7 @@ import javax.xml.bind.annotation.XmlType;
* <br>
* <p>
* There is a many-to-many relationship between User's, RBAC Roles and Permissions.
- * <h3>{@link User}*<->*{@link Role}*<->*{@link org.apache.directory.fortress.core.model.Permission}</h3>
+ * <h3>{@link User}*<->*{@link Role}*<->*{@link org.apache.directory.fortress.core.model.Permission}</h3>
* <p>
* <img src="../doc-files/RbacCore.png" alt="">
* <p>
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/RolePerm.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/RolePerm.java b/src/main/java/org/apache/directory/fortress/core/model/RolePerm.java
index d4f9aff..fac46fc 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/RolePerm.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/RolePerm.java
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
/**
* This entity is used by en masse to communicate {@link org.apache.directory.fortress.core.model.Role}, {@link Permission} and {@link org.apache.directory.fortress.core.model.Session} information to the server for access control decisions.
- * <p/>
+ *
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@XmlRootElement(name = "fortRolePerm")
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/RoleRelationship.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/RoleRelationship.java b/src/main/java/org/apache/directory/fortress/core/model/RoleRelationship.java
index a7b8f98..ea9573b 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/RoleRelationship.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/RoleRelationship.java
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
/**
* This entity is used by en masse to communicate parent and child {@link org.apache.directory.fortress.core.model.Role} information to the server.
- * <p/>
+ *
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@XmlRootElement(name = "fortRoleRelationship")
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/SDSet.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/SDSet.java b/src/main/java/org/apache/directory/fortress/core/model/SDSet.java
index ad8a719..87dd7e5 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/SDSet.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/SDSet.java
@@ -37,7 +37,7 @@ import java.util.UUID;
/**
* <h4>Static Separation of Duties Schema</h4>
* The Fortress SDSet entity is a composite of the following other Fortress structural and aux object classes:
- * <p/>
+ * <p>
* 1. organizationalRole Structural Object Class is used to store basic attributes like cn and description.
* <pre>
* ------------------------------------------
@@ -56,10 +56,11 @@ import java.util.UUID;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* 2. The RBAC Separation of14:14 Duties includes:
- * <p/> Static Separation of Duties
- * <img src="../doc-files/RbacSSD.png">
+ * <p>
+ * Static Separation of Duties
+ * <img src="../doc-files/RbacSSD.png" alt="">
* <pre>
* ------------------------------------------
* Fortress Dynamic Separation of Duties Structural Object Class
@@ -80,10 +81,11 @@ import java.util.UUID;
* )
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* OR
- * <p/> Dynamic Separation of Duties
- * <img src="../doc-files/RbacDSD.png">
+ * <p>
+ * Dynamic Separation of Duties
+ * <img src="../doc-files/RbacDSD.png" alt="">
* <pre>
* ------------------------------------------
* Fortress Static Separation of Duties Structural Object Class
@@ -104,7 +106,7 @@ import java.util.UUID;
*)
* ------------------------------------------
* </pre>
- * <p/>
+ * <p>
* 3. ftMods AUXILIARY Object Class is used to store Fortress audit variables on target entity.
* <pre>
* ------------------------------------------
@@ -121,7 +123,6 @@ import java.util.UUID;
* )
* ------------------------------------------
* </pre>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@@ -303,6 +304,8 @@ public class SDSet extends FortEntity implements Serializable, Comparable<SDSet>
* the Role membership is mutually exclusive amongst members. A value of '3' indicates no more than two Roles
* in set can be assigned to a single User (SSD) or activated within a single Session (DSD). A value of '4' indicates
* no more than three Roles may be used at a time, etc...
+ *
+ * @param cardinality The membership cardinality for SDSet
*
*/
public void setCardinality( Integer cardinality )
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/Session.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/Session.java b/src/main/java/org/apache/directory/fortress/core/model/Session.java
index d29b27c..4035bf4 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/Session.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/Session.java
@@ -33,7 +33,7 @@ import java.util.UUID;
/**
* This contains attributes related to a user's RBAC session.
* The following example shows the mapping to Session attributes on this entity:
- * <p/>
+ * <p>
* <ul> <li><code>Session</code>
* <li> <code>session.getUserId() => demoUser4</code>
* <li> <code>session.getInternalUserId() => be2dd2e:12a82ba707e:-7fee</code>
@@ -90,9 +90,9 @@ import java.util.UUID;
* <li> <code>userAdminRole.getEndInclusive() => false</code>
* </ul>
* </ul>
- * <p/>
+ * <p>
* Sample Data data contained within this Entity.
- * <p/>
+ * <p>
* Ses UID [demoUser4]:<br>
* Ses IID [ccbb2929-bf01-413d-b768-529de4d428e5]<br>
* Ses ERR [0]<br>
@@ -118,7 +118,7 @@ import java.util.UUID;
* Usr TO [60]<br>
* Usr REST [false]<br>
* Usr PROP1 [customerNumber, 3213432]<br>
- * <p/>
+ * <p>
* USER RBAC ROLE[0]:<br>
* Rle role name [role1]<br>
* Rle begin time [0000]<br>
@@ -129,7 +129,7 @@ import java.util.UUID;
* Rle end lock [none]<br>
* Rle day mask [all]<br>
* Rle time out [60]<br>
- * <p/>
+ * <p>
* USER ADMIN ROLE[0]:<br>
* Adm admin role name [DemoAdminUsers]<br>
* Adm OsU [Dev1]<br>
@@ -144,7 +144,7 @@ import java.util.UUID;
* Adm end lock [none]<br>
* Adm day mask [23456]<br>
* Adm time out [30]<br>
- * <p/>
+ * <p>
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@XmlRootElement(name = "fortSession")
@@ -270,7 +270,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* Return the User entity that is associated with this entity.
*
* Sample User data contained in Session object:
- * <p/>
+ * <p>
* ------------------------------------------<br>
* U UID [demoUser4]<br>
* U IID [ccbb2929-bf01-413d-b768-529de4d428e5]<br>
@@ -286,7 +286,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* U TO [60]<br>
* U REST [false]<br>
* U PROP[0]=customerNumber VAL=3213432<br>
- * <p/>
+ * <p>
* USER ROLE[0]:<br>
* role name <role1><br>
* begin time <0000><br>
@@ -297,7 +297,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* end lock <none><br>
* day mask <all><br>
* time out <0><br>
- * <p/>
+ * <p>
* USER ADMIN ROLE[0]:<br>
* admin role name <DemoAdminUsers><br>
* OsU <null><br>
@@ -312,7 +312,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* end lock <none><br>
* day mask <all><br>
* time out <0><br>
- * <p/>
+ * <p>
* @return User entity that contains userid, roles and other attributes valid for Session.
*/
public User getUser()
@@ -421,7 +421,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* This attribute specifies the maximum number of seconds before a
* password is due to expire that expiration warning messages will be
* returned to an authenticating user.
- * <p/>
+ * <p>
* If this attribute is not present, or if the value is 0 no warnings
* will be returned. If not 0, the value must be smaller than the value
* of the pwdMaxAge attribute.
@@ -474,7 +474,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* <li> <code>HISTORY_VIOLATION = 108;</code>
* <li> <code>ACCOUNT_LOCKED_CONSTRAINTS = 109;</code>
* </ul>
- * <p/>
+ * <p>
*
* @return int contains the error id that was generated on the user's last authentication.
*/
@@ -487,7 +487,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
/**
* Set a User entity into the Session.
* Sample User data contained in Session object:
- * <p/>
+ * <p>
* ------------------------------------------<br>
* U UID [demoUser4]<br>
* U IID [ccbb2929-bf01-413d-b768-529de4d428e5]<br>
@@ -503,7 +503,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* U TO [60]<br>
* U REST [false]<br>
* U PROP[0]=customerNumber VAL=3213432<br>
- * <p/>
+ * <p>
* USER ROLE[0]:<br>
* role name <role1><br>
* begin time <0000><br>
@@ -514,7 +514,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* end lock <none><br>
* day mask <all><br>
* time out <0><br>
- * <p/>
+ * <p>
* USER ADMIN ROLE[0]:<br>
* admin role name <DemoAdminUsers><br>
* OsU <null><br>
@@ -529,7 +529,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* end lock <none><br>
* day mask <all><br>
* time out <0><br>
- * <p/>
+ * <p>
* @param user Contains userId, roles and other security attributes used for access control.
*/
public void setUser( User user )
@@ -646,7 +646,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* <li> <code>HISTORY_VIOLATION = 108;</code>
* <li> <code>ACCOUNT_LOCKED_CONSTRAINTS = 109;</code>
* </ul>
- * <p/>
+ * <p>
*
* @param error contains the error id that was generated on the user's last authentication.
*/
@@ -672,7 +672,7 @@ public class Session extends FortEntity implements PwMessage, Serializable
* This attribute specifies the maximum number of seconds before a
* password is due to expire that expiration warning messages will be
* returned to an authenticating user.
- * <p/>
+ * <p>
* If this attribute is not present, or if the value is 0 no warnings
* will be returned. If not 0, the value must be smaller than the value
* of the pwdMaxAge attribute.
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/User.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/User.java b/src/main/java/org/apache/directory/fortress/core/model/User.java
index f8b2ffb..b69ab53 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/User.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/User.java
@@ -36,33 +36,63 @@ import javax.xml.bind.annotation.XmlType;
/**
- * All entities ({@link User}, {@link org.apache.directory.fortress.core.model.Role}, {@link org.apache.directory.fortress.core.model.Permission},
- * {@link org.apache.directory.fortress.core.model.PwPolicy} {@link org.apache.directory.fortress.core.model.SDSet} etc...) are used to carry data between three Fortress
+ * All entities ({@link User}, {@link org.apache.directory.fortress.core.model.Role},
+ * {@link org.apache.directory.fortress.core.model.Permission}, {@link org.apache.directory.fortress.core.model.PwPolicy}
+ * {@link org.apache.directory.fortress.core.model.SDSet} etc...) are used to carry data between three Fortress
* layers.starting with the (1) Manager layer down thru middle (2) Process layer and it's processing rules into
* (3) DAO layer where persistence with the OpenLDAP server occurs.
- * <p/>
+ * <p>
+ * <h3></h3>
* <h4>Fortress Processing Layers</h4>
* <ol>
- * <li>Manager layer: {@link org.apache.directory.fortress.core.impl.AdminMgrImpl}, {@link org.apache.directory.fortress.core.impl.AccessMgrImpl}, {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl},...</li>
- * <li>Process layer: {@link org.apache.directory.fortress.core.impl.UserP}, {@link org.apache.directory.fortress.core.impl.RoleP}, {@link org.apache.directory.fortress.core.impl.PermP},...</li>
- * <li>DAO layer: {@link org.apache.directory.fortress.core.impl.UserDAO}, {@link org.apache.directory.fortress.core.impl.RoleDAO}, {@link org.apache.directory.fortress.core.impl.PermDAO},...</li>
+ * <li>
+ * Manager layer: {@link org.apache.directory.fortress.core.impl.AdminMgrImpl},
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl},
+ * {@link org.apache.directory.fortress.core.impl.ReviewMgrImpl},...
+ * </li>
+ * <li>
+ * Process layer: {@link org.apache.directory.fortress.core.impl.UserP},
+ * {@link org.apache.directory.fortress.core.impl.RoleP}, {@link org.apache.directory.fortress.core.impl.PermP},...
+ * </li>
+ * <li>
+ * DAO layer: {@link org.apache.directory.fortress.core.impl.UserDAO},
+ * {@link org.apache.directory.fortress.core.impl.RoleDAO}, {@link org.apache.directory.fortress.core.impl.PermDAO},...
+ * </li>
* </ol>
* Fortress clients must first instantiate the data entity before invoking one of the Manager APIs. The caller must first
* provide enough information to uniquely identity target record for the particular ldap operation performed.<br>
* For example the User entity requires the {@link User#setUserId} attribute to be set before calling a Manager API.
* The unique key to locate a User entity in the Fortress DIT is simply the userId field.<br>
* Other ldap operations on User may require additional attributes to be set.
- * <p/>
+ * <p>
* <h4>User entity attribute usages include</h4>
* <ul>
- * <li>{@link #setPassword(char[])} must be set before calling {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#authenticate} and {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#createSession(User, boolean)} (unless trusted).
- * <li>{@link #setOu} is required before calling {@link org.apache.directory.fortress.core.impl.AdminMgrImpl#addUser(User)} to add a new user to ldap.
- * <li>{@link #setRoles} will be set for {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#createSession(User, boolean)} when selective RBAC Role activation is required.
- * <li>{@link #setAdminRoles} will be set for {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#createSession(User, boolean)} when selective Administrative Role activation is required.
- * <li>{@link #setPwPolicy} may be set for {@link org.apache.directory.fortress.core.impl.AdminMgrImpl#updateUser(User)} to assign User to a policy {@link org.apache.directory.fortress.core.model.PwPolicy}.
- * <li>{@link #password} is the only case sensitive attribute on this entity.
+ * <li>
+ * {@link #setPassword(char[])} must be set before calling
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#authenticate} and
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#createSession(User, boolean)} (unless trusted).
+ * </li>
+ * <li>
+ * {@link #setOu} is required before calling {@link org.apache.directory.fortress.core.impl.AdminMgrImpl#addUser(User)}
+ * to add a new user to ldap.
+ * </li>
+ * <li>
+ * {@link #setRoles} will be set for
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#createSession(User, boolean)} when selective RBAC Role
+ * activation is required.
+ * </li>
+ * <li>
+ * {@link #setAdminRoles} will be set for
+ * {@link org.apache.directory.fortress.core.impl.AccessMgrImpl#createSession(User, boolean)} when selective
+ * Administrative Role activation is required.
+ * </li>
+ * <li>
+ * {@link #setPwPolicy} may be set for {@link org.apache.directory.fortress.core.impl.AdminMgrImpl#updateUser(User)} to
+ * assign User to a policy {@link org.apache.directory.fortress.core.model.PwPolicy}.
+ * </li>
+ * <li>{@link #password} is the only case sensitive attribute on this entity.</li>
* </ul>
- * <p/>
+ * <p>
* Example to create new Fortress User:
* <pre>
* try
@@ -76,13 +106,16 @@ import javax.xml.bind.annotation.XmlType;
* catch (SecurityException ex)
* {
* // log or throw
- * }</pre>
- * The above code will persist to LDAP a User object that has a userId of "myUserId", a password of "myPassword", a role assignment to "myRoleName", and assigned to organzational unit named "myOU".
- * This User can be used as a target for subsequent User-Role assignments, User-Permission grants, authentication, authorization and more.
+ * }
+ * </pre>
+ * The above code will persist to LDAP a User object that has a userId of "myUserId", a password of "myPassword", a role
+ * assignment to "myRoleName", and assigned to organzational unit named "myOU". This User can be used as a target for
+ * subsequent User-Role assignments, User-Permission grants, authentication, authorization and more.
*
- * This entity aggregates one standard LDAP structural object class, {@code inetOrgPerson} see <a href="http://www.ietf.org/rfc/rfc2798.txt">RFC 2798</a>,
- * along with three auxiliary object extensions supplied by Fortress: {@code ftUserAttrs}, {@code ftProperties}, {@code ftMods}.
- * The combination of the standard and custom object classes form a single entry within the directory and is represented in this entity class.
+ * This entity aggregates one standard LDAP structural object class, {@code inetOrgPerson} see
+ * <a href="http://www.ietf.org/rfc/rfc2798.txt">RFC 2798</a>, along with three auxiliary object extensions supplied by
+ * Fortress: {@code ftUserAttrs}, {@code ftProperties}, {@code ftMods}. The combination of the standard and custom object
+ * classes form a single entry within the directory and is represented in this entity class.
*
* <h4>Fortress User Schema</h4>
*
@@ -506,7 +539,6 @@ public class User extends FortEntity implements Constraint, Serializable
* Required by Constraint Interface but not needed for user entity. Not intended for external use.
*
* @return String containing constraint data ready for ldap.
- * @throws UnsupportedOperationException
*/
public String getRawData()
{
@@ -1303,9 +1335,7 @@ public class User extends FortEntity implements Constraint, Serializable
/**
* Gets the value of the Props property. This method is used by Fortress and En Masse and should not be called by external programs.
*
- * @return
- * possible object is
- * {@link Props }
+ * @return possible object is {@link Props }
*
*/
public Props getProps()
@@ -1317,9 +1347,7 @@ public class User extends FortEntity implements Constraint, Serializable
/**
* Sets the value of the Props property. This method is used by Fortress and En Masse and should not be called by external programs.
*
- * @param value
- * allowed object is
- * {@link Props }
+ * @param value allowed object is {@link Props }
*
*/
public void setProps( Props value )
@@ -1333,7 +1361,7 @@ public class User extends FortEntity implements Constraint, Serializable
* Properties are optional.
*
* @param key contains property name and maps to 'ftProps' attribute in 'ftProperties' aux object class.
- * @param value
+ * @param value The property value to add
*/
public void addProperty( String key, String value )
{
@@ -1422,12 +1450,12 @@ public class User extends FortEntity implements Constraint, Serializable
* Get address data from entity that was persisted in directory as attributes defined by RFC 2798's LDAP inetOrgPerson Object Class:
*
* <ul>
- * <li> ------------------------------------------
- * <li> <code>postalAddress</code>
- * <li> <code>st</code>
- * <li> <code>postalCode</code>
- * <li> <code>postOfficeBox</code>
- * <li> ------------------------------------------
+ * <li> ------------------------------------------</li>
+ * <li> <code>postalAddress</code></li>
+ * <li> <code>st</code></li>
+ * <li> <code>postalCode</code></li>
+ * <li> <code>postOfficeBox</code></li>
+ * <li> ------------------------------------------</li>
* </ul>
*
* @return {@link Address}
@@ -1447,15 +1475,15 @@ public class User extends FortEntity implements Constraint, Serializable
* Set address data onto entity that stored in directory as attributes defined by RFC 2798's LDAP inetOrgPerson Object Class:
*
* <ul>
- * <li> ------------------------------------------
- * <li> <code>postalAddress</code>
- * <li> <code>st</code>
- * <li> <code>postalCode</code>
- * <li> <code>postOfficeBox</code>
- * <li> ------------------------------------------
+ * <li> ------------------------------------------</li>
+ * <li> <code>postalAddress</code></li>
+ * <li> <code>st</code></li>
+ * <li> <code>postalCode</code></li>
+ * <li> <code>postOfficeBox</code></li>
+ * <li> ------------------------------------------</li>
* </ul>
*
- * @param address
+ * @param address The addreess to set
*/
public void setAddress( Address address )
{
@@ -1592,12 +1620,18 @@ public class User extends FortEntity implements Constraint, Serializable
}
+ /**
+ * @return <tt>true</tt> if the SYSTEM flag is set
+ */
public Boolean isSystem()
{
return system;
}
+ /**
+ * @param system the SYSTEM flag to set
+ */
public void setSystem( Boolean system )
{
this.system = system;
@@ -1611,7 +1645,7 @@ public class User extends FortEntity implements Constraint, Serializable
* DESC 'a JPEG image'
* SYNTAX 1.3.6.1.4.1.1466.115.121.1.28 )
*
- * return byte array containing the jpeg image.
+ * @return byte array containing the jpeg image.
*/
public byte[] getJpegPhoto()
{
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/UserAdminRole.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/UserAdminRole.java b/src/main/java/org/apache/directory/fortress/core/model/UserAdminRole.java
index 21ef097..a88e9a1 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/UserAdminRole.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/UserAdminRole.java
@@ -39,7 +39,7 @@ import org.apache.directory.fortress.core.GlobalIds;
* The contents of the UserAdminRole entity will be stored on the User entity in the 'ftARA' (AdminRole name) and 'ftARC' (Temporal and ARBAC Constraints) attributes on the 'ftUserAttrs' object class.
* The UserAdminRole entity carries elements of {@link Constraint}. Any attributes of Constraint not set within this entity
* will use same attribute from the {@link AdminRole} entity. Thus the UserAdminRole can override Constraint attributes from it's corresponding AdminRole if required by caller.
- * <p/>
+ * <p>
* <h4>UserAdminRole Schema</h4>
* ftUserAttrs is used to store RBAC and ARBAC Role role assignments and other security attributes on User entity.
* <pre>
@@ -63,7 +63,6 @@ import org.apache.directory.fortress.core.GlobalIds;
* )
* ------------------------------------------
* </pre>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/UserAudit.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/UserAudit.java b/src/main/java/org/apache/directory/fortress/core/model/UserAudit.java
index f0cef4b..2e067b4 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/UserAudit.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/UserAudit.java
@@ -33,15 +33,15 @@ import java.util.Date;
* This entity is used to pass search criteria into the {@link org.apache.directory.fortress.core.AuditMgr} APIs, down through the
* {@link org.apache.directory.fortress.core.impl.AuditP} process layer and finally into the {@link org.apache.directory.fortress.core.impl.AuditDAO} data access layer. Once the data has been
* retrieved from the directory it will be passed back to the caller using one of audit output entities.
- * <p/>
+ * <p>
* All audit data is returned to user using one of the following:
* <ul>
* <li> Authorization events: {@link org.apache.directory.fortress.core.model.AuthZ}
* <li> Authentication events: {@link org.apache.directory.fortress.core.model.Bind}
* <li> Modification events: {@link org.apache.directory.fortress.core.model.Mod}
* </ul>
- * <p/>
- * <p/>
+ * <p>
+ * <p>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
@@ -110,7 +110,7 @@ public class UserAudit extends FortEntity implements java.io.Serializable
/**
* The failedOnly flag will limit result set to include only authN or authZ events that have failed.
- * <p/>
+ * <p>
* <ul>
* <li>{@link org.apache.directory.fortress.core.impl.AuditMgrImpl#searchInvalidUsers(UserAudit)} maps to ({@link org.apache.directory.fortress.core.impl.AuditDAO#REQENTRIES} == 0)
* <li>{@link org.apache.directory.fortress.core.impl.AuditMgrImpl#searchAuthZs(UserAudit)} maps to ({@link org.apache.directory.fortress.core.impl.AuditDAO#REQENTRIES} == 0)
@@ -127,7 +127,7 @@ public class UserAudit extends FortEntity implements java.io.Serializable
/**
* The failedOnly flag will limit result set to include only authN or authZ events that have failed.
- * <p/>
+ * <p>
* <ul>
* <li>{@link org.apache.directory.fortress.core.impl.AuditMgrImpl#searchInvalidUsers(UserAudit)} maps to ({@link org.apache.directory.fortress.core.impl.AuditDAO#REQENTRIES} == 0)
* <li>{@link org.apache.directory.fortress.core.impl.AuditMgrImpl#searchAuthZs(UserAudit)} maps to ({@link org.apache.directory.fortress.core.impl.AuditDAO#REQENTRIES} == 0)
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/UserRole.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/UserRole.java b/src/main/java/org/apache/directory/fortress/core/model/UserRole.java
index dae7270..86d277d 100755
--- a/src/main/java/org/apache/directory/fortress/core/model/UserRole.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/UserRole.java
@@ -43,7 +43,7 @@ import org.apache.directory.fortress.core.GlobalIds;
* Constraint not set within this entity
* will use same attribute from the {@link org.apache.directory.fortress.core.model.Role} entity. Thus the UserRole can override
* Constraint attributes from it's corresponding Role if required by caller.
- * <p/>
+ * <p>
* <h4>UserRole Schema</h4>
* ftUserAttrs is used to store RBAC and ARBAC Role role assignments and other security attributes on User entity.
* <pre>
@@ -67,7 +67,6 @@ import org.apache.directory.fortress.core.GlobalIds;
* )
* ------------------------------------------
* </pre>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/model/Warning.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/Warning.java b/src/main/java/org/apache/directory/fortress/core/model/Warning.java
index 5b543db..f42fead 100644
--- a/src/main/java/org/apache/directory/fortress/core/model/Warning.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/Warning.java
@@ -30,16 +30,16 @@ import java.io.Serializable;
/**
* This class contains messages that map to warning that occur during role activation and password policy validation.
- * <p/>
+ * <p>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
/**
* This entity is stored on {@link org.apache.directory.fortress.core.model.Session} and is used to pass warnings
* that occur during role activation and password policy validation.
- * <p/>
+ * <p>
* Contains data from event that occurs during session initialization:
- * <p/>
+ * <p>
* <ul>
* <li> ------------------------------------------
* <li> <code>id</code>
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
index b0be24a..cdf32fe 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/AccessMgrRestImpl.java
@@ -46,31 +46,32 @@ import java.util.TreeSet;
* and maintenance of RBAC element sets and relations; administrative review functions for
* performing administrative queries; and system functions for creating and managing
* RBAC attributes on user sessions and making access control decisions.
- * <p/>
+ * <p>
* <hr>
+ * <h3></h3>
* <h4>RBAC0 - Core</h4>
* Many-to-many relationship between Users, Roles and Permissions. Selective role activation into sessions. API to add, update, delete identity data and perform identity and access control decisions during runtime operations.
- * <p/>
- * <img src="../doc-files/RbacCore.png">
+ * <p>
+ * <img src="../doc-files/RbacCore.png" alt="">
* <hr>
* <h4>RBAC1 - General Hierarchical Roles</h4>
* Simplifies role engineering tasks using inheritance of one or more parent roles.
- * <p/>
- * <img src="../doc-files/RbacHier.png">
+ * <p>
+ * <img src="../doc-files/RbacHier.png"alt="">
* <hr>
* <h4>RBAC2 - Static Separation of Duty (SSD) Relations</h4>
* Enforce mutual membership exclusions across role assignments. Facilitate dual control policies by restricting which roles may be assigned to users in combination. SSD provide added granularity for authorization limits which help enterprises meet strict compliance regulations.
- * <p/>
- * <img src="../doc-files/RbacSSD.png">
+ * <p>
+ * <img src="../doc-files/RbacSSD.png"alt="">
* <hr>
* <h4>RBAC3 - Dynamic Separation of Duty (DSD) Relations</h4>
* Control allowed role combinations to be activated within an RBAC session. DSD policies fine tune role policies that facilitate authorization dual control and two man policy restrictions during runtime security checks.
- * <p/>
- * <img src="../doc-files/RbacDSD.png">
+ * <p>
+ * <img src="../doc-files/RbacDSD.png"alt="">
* <hr>
- * <p/>
+ * <p>
* This class is thread safe and may be used in servlet or other multi-threaded environment.
- * <p/>
+ * <p>
*
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/AdminMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/AdminMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/AdminMgrRestImpl.java
index 9bf274b..f22f6f5 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/AdminMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/AdminMgrRestImpl.java
@@ -45,31 +45,31 @@ import org.apache.directory.fortress.core.util.VUtil;
* and maintenance of RBAC element sets and relations; administrative review functions for
* performing administrative queries; and system functions for creating and managing
* RBAC attributes on user sessions and making access control decisions.
- * <p/>
+ * <p>
* <hr>
* <h4>RBAC0 - Core</h4>
* Many-to-many relationship between Users, Roles and Permissions. Selective role activation into sessions. API to add, update, delete identity data and perform identity and access control decisions during runtime operations.
- * <p/>
- * <img src="../doc-files/RbacCore.png">
+ * <p>
+ * <img src="../doc-files/RbacCore.png" alt="">
* <hr>
* <h4>RBAC1 - General Hierarchical Roles</h4>
* Simplifies role engineering tasks using inheritance of one or more parent roles.
- * <p/>
- * <img src="../doc-files/RbacHier.png">
+ * <p>
+ * <img src="../doc-files/RbacHier.png" alt="">
* <hr>
* <h4>RBAC2 - Static Separation of Duty (SSD) Relations</h4>
* Enforce mutual membership exclusions across role assignments. Facilitate dual control policies by restricting which roles may be assigned to users in combination. SSD provide added granularity for authorization limits which help enterprises meet strict compliance regulations.
- * <p/>
- * <img src="../doc-files/RbacSSD.png">
+ * <p>
+ * <img src="../doc-files/RbacSSD.png" alt="">
* <hr>
* <h4>RBAC3 - Dynamic Separation of Duty (DSD) Relations</h4>
* Control allowed role combinations to be activated within an RBAC session. DSD policies fine tune role policies that facilitate authorization dual control and two man policy restrictions during runtime security checks.
- * <p/>
- * <img src="../doc-files/RbacDSD.png">
+ * <p>
+ * <img src="../doc-files/RbacDSD.png" alt="">
* <hr>
- * <p/>
+ * <p>
* This class is NOT thread safe as it contains instance variables.
- * <p/>
+ * <p>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/AuditMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/AuditMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/AuditMgrRestImpl.java
index bc1cde6..5637bb7 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/AuditMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/AuditMgrRestImpl.java
@@ -49,10 +49,10 @@ import java.util.List;
* <li>Entity mods and deletes
* </li>
* </ol>
- * <img src="../doc-files/Audit.png">
- * <p/>
+ * <img src="../doc-files/Audit.png" alt="">
+ * <p>
* All events include Fortress context, see {@link org.apache.directory.fortress.core.model.FortEntity}.
- * <p/>
+ * <p>
* <h4>
* The following APIs generate events subsequently stored in this access log:
* </h4>
@@ -75,7 +75,6 @@ import java.util.List;
* <li>User Session Activations: <code>List<{@link Mod}> {@link org.apache.directory.fortress.core.AuditMgr#searchUserSessions(org.apache.directory.fortress.core.model.UserAudit)} </code>
* <li>Entity Modifications: <code>List<{@link Mod}> {@link org.apache.directory.fortress.core.AuditMgr#searchAdminMods(org.apache.directory.fortress.core.model.UserAudit)} </code>
* </ul>
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/CachedJaxbContext.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/CachedJaxbContext.java b/src/main/java/org/apache/directory/fortress/core/rest/CachedJaxbContext.java
index 22378ca..6f71030 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/CachedJaxbContext.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/CachedJaxbContext.java
@@ -30,7 +30,7 @@ import javax.xml.bind.Unmarshaller;
* This class contains a very simple caching mechanism for storing JAXBContext objects associated with Fortress XML
* processing.
* The intent is to reduce the performance penalty for calling JAXBContext.newInstance( class );
- * <p/>
+ * <p>
* This class is thread safe.
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/ConfigMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/ConfigMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/ConfigMgrRestImpl.java
index 82fb742..845c827 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/ConfigMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/ConfigMgrRestImpl.java
@@ -36,9 +36,8 @@ import java.util.Properties;
* The Fortress client will specify the preferred cfg node by name via a property named, {@link org.apache.directory.fortress.core.GlobalIds#CONFIG_REALM}.
* Each process using Fortress client is free to share an existing node with other processes or create its own unique config
* instance using the methods within this class.<BR>
- * <p/>
+ * <p>
* This class is thread safe.
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/DelAccessMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/DelAccessMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/DelAccessMgrRestImpl.java
index f8d2907..9c8d9ca 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/DelAccessMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/DelAccessMgrRestImpl.java
@@ -49,13 +49,13 @@ import java.util.TreeSet;
* This class provides both sets of functionality as is necessary to fulfill runtime delegated administrative access control functionality
* within RBAC provisioning systems.
* <h3>Administrative Role Based Access Control (ARBAC)</h3>
- * <img src="../doc-files/ARbac.png">
- * <p/>
+ * <img src="../doc-files/ARbac.png" alt="">
+ * <p>
* Fortress fully supports the Oh/Sandhu/Zhang ARBAC02 model for delegated administration. ARBAC provides large enterprises the capability to delegate administrative authority to users that reside outside of the security admin group.
* Decentralizing administration helps because it provides security provisioning capability to work groups without sacrificing regulations for accountability or traceability.
- * <p/>
+ * <p>
* This class is thread safe.
- * <p/>
+ *
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
public class DelAccessMgrRestImpl extends AccessMgrRestImpl implements DelAccessMgr
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/DelAdminMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/DelAdminMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/DelAdminMgrRestImpl.java
index 6027311..08963d3 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/DelAdminMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/DelAdminMgrRestImpl.java
@@ -45,11 +45,10 @@ import org.apache.directory.fortress.core.util.VUtil;
* and system functions for creating and managing ARBAC attributes on user sessions and making delegated administrative access control decisions.
* This class is NOT thread safe.
* <h3>Administrative Role Based Access Control (ARBAC)</h3>
- * <img src="../doc-files/ARbac.png">
- * <p/>
+ * <img src="../doc-files/ARbac.png" alt="">
+ * <p>
* Fortress fully supports the Oh/Sandhu/Zhang ARBAC02 model for delegated administration. ARBAC provides large enterprises the capability to delegate administrative authority to users that reside outside of the security admin group.
* Decentralizing administration helps because it provides security provisioning capability to work groups without sacrificing regulations for accountability or traceability.
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/DelReviewMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/DelReviewMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/DelReviewMgrRestImpl.java
index 1833380..eff335f 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/DelReviewMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/DelReviewMgrRestImpl.java
@@ -41,15 +41,14 @@ import java.util.List;
* operations for the creation and maintenance of ARBAC element sets and relations. Delegated administrative review functions for performing administrative queries
* and system functions for creating and managing ARBAC attributes on user sessions and making delegated administrative access control decisions.
* <h3>Administrative Role Based Access Control (ARBAC)</h3>
- * <img src="../doc-files/ARbac.png">
- * <p/>
+ * <img src="../doc-files/ARbac.png" alt="">
+ * <p>
* Fortress fully supports the Oh/Sandhu/Zhang ARBAC02 model for delegated administration. ARBAC provides large enterprises the capability to delegate administrative authority to users that reside outside of the security admin group.
* Decentralizing administration helps because it provides security provisioning capability to work groups without sacrificing regulations for accountability or traceability.
- * <p/>
+ * <p>
+ * This class is NOT thread safe if "adminSession" instance variable is set
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * <p/>
- * This class is NOT thread safe iff "adminSession" instance variable is set
*/
public class DelReviewMgrRestImpl extends Manageable implements DelReviewMgr
{
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/PwPolicyMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/PwPolicyMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/PwPolicyMgrRestImpl.java
index 9ec94a1..42c3bf9 100644
--- a/src/main/java/org/apache/directory/fortress/core/rest/PwPolicyMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/PwPolicyMgrRestImpl.java
@@ -34,12 +34,12 @@ import java.util.List;
/**
* This class is used to perform administrative and review functions on the PWPOLICIES and USERS data sets using HTTP access to En Masse REST server.
- * <p/>
+ * <p>
* <h4>Password Policies</h4>
* <a href="http://www.openldap.org/">OpenLDAP</a> supports the IETF draft <a href="http://tools.ietf.org/html/draft-behera-ldap-password-policy-10/">Password Policies for LDAP directories</a></li>. Policies may be applied at the user, group or global level.
- * <p/>
- * <img src="../doc-files/PasswordPolicy.png">
- * <p/>
+ * <p>
+ * <img src="../doc-files/PasswordPolicy.png" alt="">
+ * <p>
* Password enforcement options include:
* <ol>
* <li>A configurable limit on failed authentication attempts.</li>
@@ -56,9 +56,8 @@ import java.util.List;
* <li>Password Change after Reset</li>
* <li>Safe Modification of Password</li>
* </ol>
- * <p/>
+ * <p>
* This class is NOT thread safe.
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java b/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java
index c7e8dae..0e7bfd5 100755
--- a/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java
+++ b/src/main/java/org/apache/directory/fortress/core/rest/ReviewMgrRestImpl.java
@@ -47,31 +47,30 @@ import java.util.TreeSet;
* and maintenance of RBAC element sets and relations; administrative review functions for
* performing administrative queries; and system functions for creating and managing
* RBAC attributes on user sessions and making access control decisions.
- * <p/>
+ * <p>
* <hr>
* <h4>RBAC0 - Core</h4>
* Many-to-many relationship between Users, Roles and Permissions. Selective role activation into sessions. API to add, update, delete identity data and perform identity and access control decisions during runtime operations.
- * <p/>
- * <img src="../doc-files/RbacCore.png">
+ * <p>
+ * <img src="../doc-files/RbacCore.png" alt="">
* <hr>
* <h4>RBAC1 - General Hierarchical Roles</h4>
* Simplifies role engineering tasks using inheritance of one or more parent roles.
- * <p/>
- * <img src="../doc-files/RbacHier.png">
+ * <p>
+ * <img src="../doc-files/RbacHier.png" alt="">
* <hr>
* <h4>RBAC2 - Static Separation of Duty (SSD) Relations</h4>
* Enforce mutual membership exclusions across role assignments. Facilitate dual control policies by restricting which roles may be assigned to users in combination. SSD provide added granularity for authorization limits which help enterprises meet strict compliance regulations.
- * <p/>
- * <img src="../doc-files/RbacSSD.png">
+ * <p>
+ * <img src="../doc-files/RbacSSD.png" alt="">
* <hr>
* <h4>RBAC3 - Dynamic Separation of Duty (DSD) Relations</h4>
* Control allowed role combinations to be activated within an RBAC session. DSD policies fine tune role policies that facilitate authorization dual control and two man policy restrictions during runtime security checks.
- * <p/>
- * <img src="../doc-files/RbacDSD.png">
+ * <p>
+ * <img src="../doc-files/RbacDSD.png" alt="">
* <hr>
- * <p/>
+ * <p>
* This class is thread safe.
- * <p/>
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/util/AuditUtil.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/util/AuditUtil.java b/src/main/java/org/apache/directory/fortress/core/util/AuditUtil.java
index 00f43c4..0e23683 100755
--- a/src/main/java/org/apache/directory/fortress/core/util/AuditUtil.java
+++ b/src/main/java/org/apache/directory/fortress/core/util/AuditUtil.java
@@ -25,10 +25,8 @@ import java.util.StringTokenizer;
/**
* Class contains static utilities for conversions of ldap data to/from audit format
* These are low-level data utilities and no validations are performed. These apis should not be called by outside programs.
- * <p/>
+ * <p>
* This class is thread safe.
- * <p/>
-
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
public final class AuditUtil
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/bf2de884/src/main/java/org/apache/directory/fortress/core/util/AuthNValidator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/util/AuthNValidator.java b/src/main/java/org/apache/directory/fortress/core/util/AuthNValidator.java
index 9ec732c..71f6608 100644
--- a/src/main/java/org/apache/directory/fortress/core/util/AuthNValidator.java
+++ b/src/main/java/org/apache/directory/fortress/core/util/AuthNValidator.java
@@ -29,7 +29,7 @@ import org.apache.directory.fortress.core.util.time.Validator;
/**
* This class performs authentication validation. This validator will ensure the current user has been authenticated
* before activating the role into the session.
- * <p/>
+ * <p>
* <ol>
* <li> Create a new class, that extends this one.
* <pre>
@@ -85,7 +85,7 @@ public abstract class AuthNValidator implements Validator
* This method is called during user-role activation, {@link org.apache.directory.fortress.core.util
* .VUtil#validateConstraints} and ensures the current user has been
* proper authentication status before activating the specified role into the session.
- * <p/>
+ * <p>
* This validation routine will automatically pass if session.isAuthenticated matches the isAuthenticated member
* variable AND the role matches the subclasses name AND type == ROLE.
*