portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r391830 - in /portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF: portlet.xml view/sso-webcontent-help.vm
Date Wed, 05 Apr 2006 22:17:24 GMT
Author: taylor
Date: Wed Apr  5 15:17:19 2006
New Revision: 391830

URL: http://svn.apache.org/viewcvs?rev=391830&view=rev
Log:
added help for web content portlet

Added:
    portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/sso-webcontent-help.vm
Modified:
    portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml

Modified: portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml?rev=391830&r1=391829&r2=391830&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml (original)
+++ portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml Wed Apr  5 15:17:19
2006
@@ -595,13 +595,17 @@
 		<name>EditPage</name>
 		  <value>/WEB-INF/view/sso-edit-prefs.vm</value>
 		</init-param>
-
+        <init-param>
+  		  <name>HelpPage</name>
+		  <value>/WEB-INF/view/sso-webcontent-help.vm</value>
+		</init-param>        
         <portlet-class>org.apache.jetspeed.portlet.SSOWebContentPortlet</portlet-class>
         <expiration-cache>-1</expiration-cache>
         <supports>
             <mime-type>text/html</mime-type>
             <portlet-mode>EDIT</portlet-mode>
             <portlet-mode>VIEW</portlet-mode>
+            <portlet-mode>HELP</portlet-mode>
          </supports>
         <portlet-preferences>
             <!--  NY TIMES EXAMPLE, user ID is 'jetspeed_test0' and password is 'jetspeed'
-->
@@ -632,7 +636,7 @@
 		</portlet-preferences>
         <supported-locale>en</supported-locale>
         <portlet-info>
-            <title>WebContent Prototype Portlet</title>
+            <title>WebContent</title>
             <short-title>WebContent</short-title>
             <keywords>WebContent,Web, SSO, single signon</keywords>
         </portlet-info>
@@ -672,7 +676,7 @@
       </preference>                               
       <preference>                            
         <name>JndiDatasource</name>                    
-        <value></value>    
+        <value>jdbc/jetspeed</value>    
       </preference>                               
       <preference>                            
         <name>JdbcDriver</name>                    

Added: portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/sso-webcontent-help.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/sso-webcontent-help.vm?rev=391830&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/sso-webcontent-help.vm
(added)
+++ portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/sso-webcontent-help.vm
Wed Apr  5 15:17:19 2006
@@ -0,0 +1,26 @@
+<h1>Help</h1>
+<p>
+<h3>Basic authentication</h3> is the default and can be supported effectively
without even setting <b>sso.type</b>
+Just by providing credentials for the domain. The credentials will not be sent preemptively,

+but if a 401 request is returned for Basic authentication, it will be handled properly. 
 
+Tis is equivalent to setting sso.type=basic (or sso.type=html (old - now deprecated in favor
of calling it <b>basic</b>).
+if you set sso.type=basic.preemptive, it will send the credentials preemptively.
+</p>
+<br/>
+<p>
+<h3>URL authentication</h3> (query args) is supported as <b>sso.type=url</b>
or <b>sso.type=url.base64</b>.
+By definition, this type of authentication is <quote>preemptive</quote>, so no
distinction is made 
+there.   
+</p>
+<br/>
+<p>
+<h3>Form-authentication</h3> is supported with <b>sso.type=form</b>
(which is equivalent to sso.type=form.post - you can also specify sso.type=form.get, 
+if GET protocol is used on the login form). This form also requires a bunch of other data

+( e.g. the action URL, other args, names of the fields for credentials, etc.).   
+All of this is in an example that is in the demo portlet.xml.   
+Form-based authentication is also considred "preemptive", in that it authenticates before
any other 
+content is read. However, it only does it once.  If it succeeds, all should be well.
+If it fails, the user will have to login by hand (since the initial content URL will 
+cause a redirect to the login page).
+</p>
+<br/>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message