package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import com.opensymphony.module.user.UserManager;
import java.util.Collection;
import java.util.Iterator;
import com.opensymphony.module.user.provider.CredentialsProvider;
import com.opensymphony.module.user.provider.AccessProvider;
import com.opensymphony.module.user.provider.UserProvider;
public class default_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;ISO-8859-1");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n ");
out.write("<h2>Directory");
out.write("</h2>\r\n");
out.write("<ul>\r\n");
out.write("<li>");
out.write("<a href=\"users.jsp\">Users");
out.write("</a>\r\n");
out.write("<li>");
out.write("<a href=\"groups.jsp\">Groups");
out.write("</a>\r\n");
out.write("</ul>\r\n\r\n");
out.write("<hr>\r\n\r\n");
out.write("<h2>Providers");
out.write("</h2>\r\n");
UserManager um = UserManager.getInstance();
out.write("\r\n\r\n");
out.write("<h4>CredentialsProviders");
out.write("</h4>\r\n\r\n");
out.write("<ul>\r\n");
Collection credentialProviders = um.getCredentialsProviders();
for (Iterator iterator = credentialProviders.iterator(); iterator.hasNext();)
{
CredentialsProvider provider = (CredentialsProvider) iterator.next();
out.write("\r\n ");
out.write("<li>");
out.print( provider.getClass() );
out.write("</li>\r\n");
}
out.write("\r\n");
out.write("</ul>\r\n\r\n");
out.write("<h4>AccessProviders");
out.write("</h4>\r\n\r\n");
out.write("<ul>\r\n");
Collection accessProviders = um.getAccessProviders();
for (Iterator iterator = accessProviders.iterator(); iterator.hasNext();)
{
UserProvider provider = (UserProvider) iterator.next();
out.write("\r\n ");
out.write("<li>");
out.print( provider.getClass() );
out.write("</li>\r\n");
}
out.write("\r\n");
out.write("</ul>\r\n\r\n");
out.write("<h4>ProfileProviders");
out.write("</h4>\r\n\r\n");
out.write("<ul>\r\n");
Collection profileProviders = um.getProfileProviders();
for (Iterator iterator = profileProviders.iterator(); iterator.hasNext();)
{
UserProvider provider = (UserProvider) iterator.next();
out.write("\r\n ");
out.write("<li>");
out.print( provider.getClass() );
out.write("</li>\r\n");
}
out.write("\r\n");
out.write("</ul>\r\n\r\n\r\n");
} catch (Throwable t) {
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}