view.jsp
    
    
    
    
    
        Home
            /
examples                    /
as7-eap-demo                    /
customer-app                    /
src                    /
main                    /
webapp                    /
customers                    /
                    view.jsp
    
    
            
            <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
 pageEncoding="ISO-8859-1"%>
<html>
<head>
    <title>Customer View Page</title>
</head>
<body bgcolor="#E3F6CE">
<p>Goto: <a href="https://localhost:8443/product-portal">products</a> | <a href="https://localhost:8443/auth-server/j_oauth_logout">logout</a></p>
User <b><%=request.getUserPrincipal().getName()%></b> made this request.
<h2>Customer Listing</h2>
<%
java.util.List<String> list = org.jboss.resteasy.example.oauth.CustomerDatabaseClient.getCustomers(request);
for (String cust : list)
{
   out.print("<p>");
   out.print(cust);
   out.println("</p>");
}
%>
<br><br>
</body>
</html>