You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/09/14 07:22:45 UTC

svn commit: r1840890 - /tomcat/trunk/java/org/apache/catalina/UserDatabase.java

Author: markt
Date: Fri Sep 14 07:22:44 2018
New Revision: 1840890

URL: http://svn.apache.org/viewvc?rev=1840890&view=rev
Log:
Clean-up. No functional change.

Modified:
    tomcat/trunk/java/org/apache/catalina/UserDatabase.java

Modified: tomcat/trunk/java/org/apache/catalina/UserDatabase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/UserDatabase.java?rev=1840890&r1=1840889&r2=1840890&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/UserDatabase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/UserDatabase.java Fri Sep 14 07:22:44 2018
@@ -14,29 +14,23 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.catalina;
 
-
 import java.util.Iterator;
 
-
 /**
- * <p>Abstract representation of a database of {@link User}s and
- * {@link Group}s that can be maintained by an application,
- * along with definitions of corresponding {@link Role}s, and
- * referenced by a {@link Realm} for authentication and access control.</p>
+ * Abstract representation of a database of {@link User}s and {@link Group}s
+ * that can be maintained by an application, along with definitions of
+ * corresponding {@link Role}s, and referenced by a {@link Realm} for
+ * authentication and access control.
  *
  * @author Craig R. McClanahan
  * @since 4.1
  */
 public interface UserDatabase {
 
-
     // ------------------------------------------------------------- Properties
 
-
     /**
      * @return the set of {@link Group}s defined in this user database.
      */
@@ -63,7 +57,6 @@ public interface UserDatabase {
 
     // --------------------------------------------------------- Public Methods
 
-
     /**
      * Finalize access to this user database.
      *
@@ -100,13 +93,12 @@ public interface UserDatabase {
      * @param fullName The full name of the new user
      * @return The new user
      */
-    public User createUser(String username, String password,
-                           String fullName);
+    public User createUser(String username, String password, String fullName);
 
 
     /**
      * @return the {@link Group} with the specified group name, if any;
-     * otherwise return <code>null</code>.
+     *         otherwise return <code>null</code>.
      *
      * @param groupname Name of the group to return
      */
@@ -114,8 +106,8 @@ public interface UserDatabase {
 
 
     /**
-     * @return the {@link Role} with the specified role name, if any;
-     * otherwise return <code>null</code>.
+     * @return the {@link Role} with the specified role name, if any; otherwise
+     *         return <code>null</code>.
      *
      * @param rolename Name of the role to return
      */
@@ -123,8 +115,8 @@ public interface UserDatabase {
 
 
     /**
-     * @return the {@link User} with the specified user name, if any;
-     * otherwise return <code>null</code>.
+     * @return the {@link User} with the specified user name, if any; otherwise
+     *         return <code>null</code>.
      *
      * @param username Name of the user to return
      */
@@ -164,12 +156,10 @@ public interface UserDatabase {
 
 
     /**
-     * Save any updated information to the persistent storage location for
-     * this user database.
+     * Save any updated information to the persistent storage location for this
+     * user database.
      *
      * @exception Exception if any exception is thrown during saving
      */
     public void save() throws Exception;
-
-
 }



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