roles);
/* ------------------------------------------------------------ */
/** Add a Constraint Mapping.
* May be called for running webapplication as an annotated servlet is instantiated.
- * @param mapping
+ * @param mapping the mapping
*/
void addConstraintMapping(ConstraintMapping mapping);
@@ -45,7 +45,7 @@ public interface ConstraintAware
/* ------------------------------------------------------------ */
/** Add a Role definition.
* May be called on running webapplication as an annotated servlet is instantiated.
- * @param role
+ * @param role the role
*/
void addRole(String role);
@@ -53,7 +53,7 @@ public interface ConstraintAware
* See Servlet Spec 31, sec 13.8.4, pg 145
* When true, requests with http methods not explicitly covered either by inclusion or omissions
* in constraints, will have access denied.
- * @param deny
+ * @param deny true for denied method access
*/
void setDenyUncoveredHttpMethods(boolean deny);
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java b/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java
index f0774a707d4..108ca0ad6f1 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java
@@ -57,8 +57,6 @@ public class HashLoginService extends AbstractLoginService
protected Resource _configResource;
protected boolean hotReload = false; // default is not to reload
-
-
/* ------------------------------------------------------------ */
public HashLoginService()
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java b/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java
index 09b5df95126..7f38d07a490 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/JDBCLoginService.java
@@ -41,24 +41,17 @@ import org.eclipse.jetty.util.security.Credential;
/* ------------------------------------------------------------ */
/**
* HashMapped User Realm with JDBC as data source.
- * The login() method checks the inherited Map for the user. If the user is not
+ * The {@link #login(String, Object, ServletRequest)} method checks the inherited Map for the user. If the user is not
* found, it will fetch details from the database and populate the inherited
- * Map. It then calls the superclass login() method to perform the actual
+ * Map. It then calls the superclass {@link #login(String, Object, ServletRequest)} method to perform the actual
* authentication. Periodically (controlled by configuration parameter),
* internal hashes are cleared. Caching can be disabled by setting cache refresh
* interval to zero. Uses one database connection that is initialized at
- * startup. Reconnect on failures. authenticate() is 'synchronized'.
- *
+ * startup. Reconnect on failures.
+ *
* An example properties file for configuration is in
- * $JETTY_HOME/etc/jdbcRealm.properties
- *
- * @version $Id: JDBCLoginService.java 4792 2009-03-18 21:55:52Z gregw $
- *
- *
- *
- *
+ * ${jetty.home}/etc/jdbcRealm.properties
*/
-
public class JDBCLoginService extends AbstractLoginService
{
private static final Logger LOG = Log.getLogger(JDBCLoginService.class);
@@ -78,17 +71,11 @@ public class JDBCLoginService extends AbstractLoginService
/**
* JDBCKnownUser
- *
- *
*/
public class JDBCUserPrincipal extends UserPrincipal
{
int _userKey;
- /**
- * @param name
- * @param credential
- */
public JDBCUserPrincipal(String name, Credential credential, int key)
{
super(name, credential);
@@ -134,9 +121,6 @@ public class JDBCLoginService extends AbstractLoginService
/* ------------------------------------------------------------ */
- /**
- * @see org.eclipse.jetty.security.MappedLoginService#doStart()
- */
@Override
protected void doStart() throws Exception
{
@@ -235,10 +219,6 @@ public class JDBCLoginService extends AbstractLoginService
/* ------------------------------------------------------------ */
- /**
- * @see org.eclipse.jetty.security.MappedLoginService#loadUserInfo(java.lang.String)
- * @Override
- */
public UserPrincipal loadUserInfo (String username)
{
try
@@ -275,10 +255,6 @@ public class JDBCLoginService extends AbstractLoginService
/* ------------------------------------------------------------ */
- /**
- * @see org.eclipse.jetty.security.MappedLoginService#loadRoleInfo(org.eclipse.jetty.security.UserPrincipal.KnownUser)
- * @Override
- */
public String[] loadRoleInfo (UserPrincipal user)
{
JDBCUserPrincipal jdbcUser = (JDBCUserPrincipal)user;
@@ -314,9 +290,7 @@ public class JDBCLoginService extends AbstractLoginService
return null;
}
-
-
-
+
/* ------------------------------------------------------------ */
/**
* @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStop()
@@ -341,5 +315,4 @@ public class JDBCLoginService extends AbstractLoginService
}
_con = null;
}
-
}