[jboss-cvs] JBossAS SVN: r82096 - projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Dec 7 19:04:48 EST 2008
Author: Darrin
Date: 2008-12-07 19:04:48 -0500 (Sun, 07 Dec 2008)
New Revision: 82096
Modified:
projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Developer_Guidelines.xml
projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Security_Features.xml
Log:
moved developer comment about authenication in RMI to new developer guidelines chapter
Modified: projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Developer_Guidelines.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Developer_Guidelines.xml 2008-12-07 19:12:21 UTC (rev 82095)
+++ projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Developer_Guidelines.xml 2008-12-08 00:04:48 UTC (rev 82096)
@@ -165,5 +165,26 @@
</section>
+ <section id="Common_Criteria_Guide-authentication-User_Credentials_in_RMI">
+ <title>Developer Advice for User Credentials in Remote Method Invocation (RMI)</title>
+ <para>In Remote Method Invocation credentials are transmitted from
+ client to server. These credentials populate the security context
+ in the method invocation object. This is done through the
+ <methodname>setPrincipal</methodname> and
+ <methodname>setCredential</methodname> methods.</para>
+
+ <example><title>Setting Principal and Credential</title>
+ <programlisting language="java">MethodInvocation mi = new MethodInvocation();
+mi.setPrincipal(new SimplePrincipal("myusername"));
+mi.setCredential("mypassword");</programlisting></example>
+
+ <para>These additional payloads can be retrieved at the server side
+ using similar methods on the invocation object.</para>
+
+ <example><title>Retrieving Principal and Credential</title>
+ <programlisting language="java">Principal p = mi.getPrincipal();
+Object cred = mi.getCredential();
+// Now do authentication (and then authorization)</programlisting></example>
+ </section>
</chapter>
\ No newline at end of file
Modified: projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Security_Features.xml
===================================================================
--- projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Security_Features.xml 2008-12-07 19:12:21 UTC (rev 82095)
+++ projects/docs/enterprise/4.3.3/Common_Criteria_Guide/en-US/Security_Features.xml 2008-12-08 00:04:48 UTC (rev 82096)
@@ -277,29 +277,6 @@
For information on how to configure the JAAS modules, refer to the <ulink url="http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp03/html-single/Server_Configuration_Guide/index.html#Defining_Security_Domains-Using_JBoss_Login_Modules">Using JBoss Login Modules</ulink> section of the Server Configuration Guide.
</para>
- <section id="Common_Criteria_Guide-authentication-User_Credentials_in_RMI">
- <title>Developer Advice for User Credentials in Remote Method Invocation (RMI)</title>
- <para>In Remote Method Invocation credentials are transmitted from
- client to server. These credentials populate the security context
- in the method invocation object. This is done through the
- <methodname>setPrincipal</methodname> and
- <methodname>setCredential</methodname> methods.</para>
-
- <example><title>Setting Principal and Credential</title>
- <programlisting language="java">MethodInvocation mi = new MethodInvocation();
- mi.setPrincipal(new SimplePrincipal("myusername"));
- mi.setCredential("mypassword");</programlisting></example>
-
- <para>These additional payloads can be retrieved at the server side
- using similar methods on the invocation object.</para>
-
- <example><title>Retrieving Principal and Credential</title>
- <programlisting language="java">Principal p = mi.getPrincipal();
-Object cred = mi.getCredential();
-// Now do authentication (and then authorization)</programlisting></example>
-
- </section>
-
</section>
<section id="sect-Common_Criteria_Guide-Overview_of_the_Security_Functions-Transaction_Rollback">
More information about the jboss-cvs-commits
mailing list