[jboss-cvs] jboss-seam/examples/security/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Tue Jul 25 02:56:16 EDT 2006
User: sbryzak2
Date: 06/07/25 02:56:16
Added: examples/security/view home.xhtml index.html
Log:
Added simple test app to debug security framework.. this will probably be expanded into numerous examples, one for each of the popular authentication methods
Revision Changes Path
1.1 date: 2006/07/25 06:56:16; author: sbryzak2; state: Exp;jboss-seam/examples/security/view/home.xhtml
Index: home.xhtml
===================================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<head>
<title>Seam Security</title>
</head>
<body>
<h1>Security example</h1>
<a href="protected/protected.seam">Protected page</a>
<h:form>
<div>
<h:outputLabel for="username">Login Name</h:outputLabel>
<h:inputText id="username" value="#{user.username}" style="width: 175px;"/>
<div class="errors"><h:message for="username"/></div>
</div>
<div>
<h:outputLabel for="password">Password</h:outputLabel>
<h:inputSecret id="password" value="#{user.password}" style="width: 175px;"/>
</div>
<h:commandButton action="#{login.login}" value="Login" class="button" />
<h:commandButton action="#{protectedAction.foo}" value="Foo" class="button"/>
</h:form>
</body>
</html>
1.1 date: 2006/07/25 06:56:16; author: sbryzak2; state: Exp;jboss-seam/examples/security/view/index.html
Index: index.html
===================================================================
<html>
<head>
<meta http-equiv="Refresh" content="0; URL=home.seam">
</head>
</html>
More information about the jboss-cvs-commits
mailing list