Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Using Tomcat Sercurity Manager in RAP
Using Tomcat Sercurity Manager in RAP [message #634905] Mon, 25 October 2010 03:44 Go to next message
fangjava  is currently offline fangjava Friend
Messages: 8
Registered: July 2009
Junior Member
Hi everyone,

I want to use Tomcat Sercurity Manager in RAP.

I need "FROM" validate , but I don't know how to configure it in web.xml.

Thank you very much!!



Re: Using Tomcat Sercurity Manager in RAP [message #635509 is a reply to message #634905] Wed, 27 October 2010 07:23 Go to previous message
fangjava  is currently offline fangjava Friend
Messages: 8
Registered: July 2009
Junior Member
I can confgure Basic Sercurity in web.xml

add :

<security-constraint>
<web-resource-collection>
<display-name>Example Security Constraint</display-name>
<web-resource-name>my example</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>

<!-- 这是BASIC验证 -->
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>my example11</realm-name>
</login-config>

<security-role>
<description>
The role that is required to log into the sample application
</description>
<role-name>admin</role-name>
</security-role>

But I want to use Form Security. but without login.html in RAP
so I cann't config it in web.xml

Thanks in advance for any help.
Previous Topic:googleCalendar like widget?
Next Topic:Own favicon and title for application when using RAP business design
Goto Forum:
  


Current Time: Thu Apr 25 06:11:47 GMT 2024

Powered by FUDForum. Page generated in 0.02616 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top