You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2012/04/28 05:44:51 UTC

svn commit: r1331670 - /openejb/site/trunk/content/tomee-and-security.mdtext

Author: vishwanathk
Date: Sat Apr 28 03:44:50 2012
New Revision: 1331670

URL: http://svn.apache.org/viewvc?rev=1331670&view=rev
Log:
correct docs

Modified:
    openejb/site/trunk/content/tomee-and-security.mdtext

Modified: openejb/site/trunk/content/tomee-and-security.mdtext
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/tomee-and-security.mdtext?rev=1331670&r1=1331669&r2=1331670&view=diff
==============================================================================
--- openejb/site/trunk/content/tomee-and-security.mdtext (original)
+++ openejb/site/trunk/content/tomee-and-security.mdtext Sat Apr 28 03:44:50 2012
@@ -16,7 +16,17 @@ Notice:    Licensed to the Apache Softwa
            specific language governing permissions and limitations
            under the License.
 
-*    Uses Tomcat's Security Realm
+Rather than providing its own security implementation, TomEE makes full use of the security features that are part of Tomcat. Any Catalina realm is supported or you can provide your own security module using the login.config file. 
+
+For example, to add some simple security to the [moviefun application](http://openejb.apache.org/examples-trunk/webapps/moviefun/README.html) , all we would need to do is: 
+
+1.    Add some users to the tomcat-users.xml file     
+2.    Add the necessary @DefineRoles and @RolesAllowed annotations on MoviesImpl     
+3.    Add some security config to do HTTP Basic authentication to web.xml Webservice security is also looked after – username/password based security (HTTP basic, or WS-Security) uses the same Tomcat security. Certificate based security is also available.
+
+To put it short,
+
+*    TomEE uses Tomcat's Security Realm
 
 *     Extra TomEE layer adds support for JAAS JACC WS Security
 
@@ -26,10 +36,7 @@ Notice:    Licensed to the Apache Softwa
 
 *     Alternatively use login.config to provide your own security module
 
-*    Rather than providing its own security implementation, TomEE makes full use of the security features that are part of Tomcat. Any Catalina realm is supported or you can provide your own security module using the login.config file. 
-
-*     For example, to add some simple security to the [moviefun application](http://openejb.apache.org/examples-trunk/webapps/moviefun/README.html) , all we would need to do is: 1. Add some users to the tomcat-users.xml file 2. Add the necessary @DefineRoles and @RolesAllowed annotations on MoviesImpl 3. Add some security config to do HTTP Basic authentication to web.xml Webservice security is also looked after – username/password based security (HTTP basic, or WS-Security) uses the same Tomcat security. Certificate based security is also available.
 
-See Also:
+####See Also:
 
-[TomEE-and-JAAS](tomee-jaas.html) 
\ No newline at end of file
+    [TomEE-and-JAAS](tomee-jaas.html) 
\ No newline at end of file