|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
fedora.server.access.LoginServlet
Prompts user for name and password, using HTTP basic authentication. -----------------------------------------------------------------------------
License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.
-----------------------------------------------------------------------------
| Constructor Summary | |
LoginServlet()
|
|
| Method Summary | |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The servlet entry point. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Server |
getServer()
|
void |
init()
Initialize servlet. |
void |
logConfig(java.lang.String message)
Logs a CONFIG message, indicating what occurred during the server's (or a module's) configuration phase. |
void |
logFine(java.lang.String message)
Logs a FINE message, indicating basic information about a request to the server (like hostname, operation name, and success or failure). |
void |
logFiner(java.lang.String message)
Logs a FINER message, indicating detailed information about a request to the server (like the full request, full response, and timing information). |
void |
logFinest(java.lang.String message)
Logs a FINEST message, indicating method entry/exit or extremely verbose information intended to aid in debugging. |
boolean |
loggingConfig()
|
boolean |
loggingFine()
|
boolean |
loggingFiner()
|
boolean |
loggingFinest()
|
boolean |
loggingInfo()
|
boolean |
loggingSevere()
|
boolean |
loggingWarning()
|
void |
logInfo(java.lang.String message)
Logs an INFO message, indicating that something relatively uncommon and interesting happened, like server or module startup or shutdown, or a periodic job. |
void |
logSevere(java.lang.String message)
Logs a SEVERE message, indicating that the server is inoperable or unable to start. |
void |
logWarning(java.lang.String message)
Logs a WARNING message, indicating that an undesired (but non-fatal) condition occured. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LoginServlet()
| Method Detail |
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
request - The servlet request.response - servlet The servlet response.
javax.servlet.ServletException - If anything really bad happens.
java.io.IOException - If an error occurrs with an input or output operation.
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void init()
throws javax.servlet.ServletException
javax.servlet.ServletException - If the servet cannot be initialized.public final Server getServer()
public final void logSevere(java.lang.String message)
logSevere in interface Loggingmessage - The message.public final boolean loggingSevere()
loggingSevere in interface Loggingpublic final void logWarning(java.lang.String message)
logWarning in interface Loggingmessage - The message.public final boolean loggingWarning()
loggingWarning in interface Loggingpublic final void logInfo(java.lang.String message)
logInfo in interface Loggingmessage - The message.public final boolean loggingInfo()
loggingInfo in interface Loggingpublic final void logConfig(java.lang.String message)
logConfig in interface Loggingmessage - The message.public final boolean loggingConfig()
loggingConfig in interface Loggingpublic final void logFine(java.lang.String message)
logFine in interface Loggingmessage - The message.public final boolean loggingFine()
loggingFine in interface Loggingpublic final void logFiner(java.lang.String message)
logFiner in interface Loggingmessage - The message.public final boolean loggingFiner()
loggingFiner in interface Loggingpublic final void logFinest(java.lang.String message)
logFinest in interface Loggingmessage - The message.public final boolean loggingFinest()
loggingFinest in interface Logging
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||