public class StatusServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
private LazyList<IPRange> |
allowedIPs |
private AttributeResolver<?> |
attributeResolver
Attribute resolver used by the IdP.
|
private org.joda.time.format.DateTimeFormatter |
dateFormat
Formatter used when print date/times.
|
private String |
IP_PARAM_NAME |
private org.slf4j.Logger |
log |
private RelyingPartyConfigurationManager |
rpConfigManager
Relying party configuration manager used by the IdP.
|
private static long |
serialVersionUID
Serial version UID.
|
private org.joda.time.DateTime |
startTime
Time the IdP started up.
|
| Constructor and Description |
|---|
StatusServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.ServletConfig config) |
protected boolean |
isAuthenticated(javax.servlet.http.HttpServletRequest request)
Checks whether the client is authenticated.
|
protected void |
printIdPInformation(PrintWriter out)
Prints out general IdP information.
|
protected void |
printOperatingEnvironmentInformation(PrintWriter out)
Prints out information about the operating environment.
|
protected void |
printRelyingPartyConfigurationInformation(PrintWriter out,
RelyingPartyConfiguration config)
Prints out the information for a specific relying party configuration.
|
protected void |
printRelyingPartyConfigurationsInformation(PrintWriter out,
String relyingPartyId)
Prints information about relying party configurations.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprivate static final long serialVersionUID
private final String IP_PARAM_NAME
private final org.slf4j.Logger log
private org.joda.time.format.DateTimeFormatter dateFormat
private org.joda.time.DateTime startTime
private AttributeResolver<?> attributeResolver
private RelyingPartyConfigurationManager rpConfigManager
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected boolean isAuthenticated(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
request - client requestjavax.servlet.ServletExceptionprotected void printOperatingEnvironmentInformation(PrintWriter out)
out - output writer to which information will be writtenprotected void printIdPInformation(PrintWriter out)
out - output writer to which information will be writtenprotected void printRelyingPartyConfigurationsInformation(PrintWriter out, String relyingPartyId)
out - output writer to which information will be writtenrelyingPartyId - entity ID of the relying party whose configuration should be printedprotected void printRelyingPartyConfigurationInformation(PrintWriter out, RelyingPartyConfiguration config)
out - output writer to which information will be writtenconfig - the relying party configurationCopyright © 1999-2014. All Rights Reserved.