import org.apache.catalina.Lifecycle;
import org.apache.catalina.LifecycleException;
import org.apache.catalina.Realm;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
/**
* Gracefully terminate the active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#stopInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that needs to be reported
import org.apache.catalina.LifecycleException;
import org.apache.catalina.core.StandardServer;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.naming.ContextBindings;
/**
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
*/
protected String name = null;
+ @Override
public String getName() {
return (this.name);
}
* @exception UnsupportedCallbackException if the login method requests
* an unsupported callback type
*/
+ @Override
public void handle(Callback callbacks[])
throws IOException, UnsupportedCallbackException {
*
* @exception LoginException if the abort fails
*/
+ @Override
public boolean abort() throws LoginException {
// If our authentication was not successful, just return false
*
* @exception LoginException if the commit fails
*/
+ @Override
public boolean commit() throws LoginException {
log.debug("commit " + principal);
* @param options Configuration information for this specific
* <code>LoginModule</code> instance
*/
+ @Override
public void initialize(Subject subject, CallbackHandler callbackHandler,
Map<String,?> sharedState, Map<String,?> options) {
log.debug("Init");
*
* @exception LoginException if the authentication fails
*/
+ @Override
public boolean login() throws LoginException {
// Set up our CallbackHandler requests
*
* @exception LoginException if logging out failed
*/
+ @Override
public boolean logout() throws LoginException {
subject.getPrincipals().remove(principal);
import org.apache.catalina.Container;
import org.apache.catalina.LifecycleException;
import org.apache.catalina.authenticator.Constants;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
import org.apache.tomcat.util.ExceptionUtils;
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
import java.util.Properties;
import org.apache.catalina.LifecycleException;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.tomcat.util.ExceptionUtils;
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
/**
* Gracefully terminate the active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#stopInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that needs to be reported
import org.apache.catalina.LifecycleException;
import org.apache.catalina.util.Base64;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.tomcat.util.buf.ByteChunk;
import org.apache.tomcat.util.buf.CharChunk;
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
/**
* Gracefully terminate the active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#stopInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that needs to be reported
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.catalina.LifecycleException;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
import org.apache.catalina.Globals;
import org.apache.catalina.LifecycleException;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.juli.logging.Log;
import org.apache.juli.logging.LogFactory;
import org.apache.tomcat.util.digester.Digester;
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
import org.apache.catalina.deploy.SecurityConstraint;
import org.apache.catalina.mbeans.MBeanUtils;
import org.apache.catalina.util.HexUtils;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.catalina.util.LifecycleMBeanBase;
import org.apache.catalina.util.MD5Encoder;
import org.apache.juli.logging.Log;
/**
* Return the Container with which this Realm has been associated.
*/
+ @Override
public Container getContainer() {
return (container);
*
* @param container The associated Container
*/
+ @Override
public void setContainer(Container container) {
Container oldContainer = this.container;
* the corresponding version number, in the format
* <code><description>/<version></code>.
*/
+ @Override
public String getInfo() {
return info;
*
* @param listener The listener to add
*/
+ @Override
public void addPropertyChangeListener(PropertyChangeListener listener) {
support.addPropertyChangeListener(listener);
* @param credentials Password or other credentials to use in
* authenticating this username
*/
+ @Override
public Principal authenticate(String username, String credentials) {
String serverCredentials = getPassword(username);
* @param md5a2 Second MD5 digest used to calculate the digest :
* MD5(Method + ":" + uri)
*/
+ @Override
public Principal authenticate(String username, String clientDigest,
String nOnce, String nc, String cnonce,
String qop, String realm,
* @param certs Array of client certificates, with the first one in
* the array being the certificate of the client itself.
*/
+ @Override
public Principal authenticate(X509Certificate certs[]) {
if ((certs == null) || (certs.length < 1))
* invoked inside the classloading context of this container. Unexpected
* throwables will be caught and logged.
*/
+ @Override
public void backgroundProcess() {
// NOOP in base class
}
* @param request Request we are processing
* @param context Context the Request is mapped to
*/
+ @Override
public SecurityConstraint [] findSecurityConstraints(Request request,
Context context) {
*
* @exception IOException if an input/output error occurs
*/
+ @Override
public boolean hasResourcePermission(Request request,
Response response,
SecurityConstraint []constraints,
*
* @exception IOException if an input/output error occurs
*/
+ @Override
public boolean hasUserDataPermission(Request request,
Response response,
SecurityConstraint []constraints)
*
* @param listener The listener to remove
*/
+ @Override
public void removePropertyChangeListener(PropertyChangeListener listener) {
support.removePropertyChangeListener(listener);
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
/**
* Gracefully terminate the active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#stopInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that needs to be reported
import org.apache.catalina.UserDatabase;
import org.apache.catalina.Wrapper;
import org.apache.catalina.core.StandardServer;
-import org.apache.catalina.util.LifecycleBase;
import org.apache.tomcat.util.ExceptionUtils;
/**
* Prepare for the beginning of active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#startInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that prevents this component from being used
/**
* Gracefully terminate the active use of the public methods of this
* component and implement the requirements of
- * {@link LifecycleBase#stopInternal()}.
+ * {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
*
* @exception LifecycleException if this component detects a fatal error
* that needs to be reported