*** empty log message ***
This commit is contained in:
33
venice-data-sso/sp/velocity/sourceid/login_dialog.vm
Normal file
33
venice-data-sso/sp/velocity/sourceid/login_dialog.vm
Normal file
@@ -0,0 +1,33 @@
|
||||
#*
|
||||
The contents of this file are subject to the Mozilla Public License Version 1.1
|
||||
(the "License"); you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
||||
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing rights and limitations under the License.
|
||||
|
||||
The Original Code is the Venice Web Communities System.
|
||||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2003 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
*#
|
||||
#renderDialog( $loginDialog )
|
||||
<p />
|
||||
#header1( "Login via Federated Identity" )
|
||||
<p>If you have previously established an account here, AND you have previously federated it with one of
|
||||
the following Identity Providers, then you may click on the appropriate Identity Provider link below.
|
||||
You will be taken to the IDP's logon page, and returned here after authentication is complete.</p>
|
||||
<p>Note that this WILL NOT work unless you have previously federated an account between this installation and
|
||||
the Identity Provider. If you have not done this yet, then first create an account using the form above.</p>
|
||||
<ul>
|
||||
#set( $etgt = "#encodeURL( $target )" )
|
||||
#foreach( $prov in $idpList )
|
||||
#set( $arg = "#encodeURL( $prov.ProviderID )" )
|
||||
<li><a href="#formatURL( "SERVLET" "sourceid/login_sso.js.vs?tgt=$etgt&provider=$arg" )">$prov.ProviderID</a></li>
|
||||
#end
|
||||
</ul>
|
||||
<br />
|
||||
59
venice-data-sso/sp/velocity/sourceid/top.vm
Normal file
59
venice-data-sso/sp/velocity/sourceid/top.vm
Normal file
@@ -0,0 +1,59 @@
|
||||
#*
|
||||
The contents of this file are subject to the Mozilla Public License Version 1.1
|
||||
(the "License"); you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
||||
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing rights and limitations under the License.
|
||||
|
||||
The Original Code is the Venice Web Communities System.
|
||||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2003 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
*#
|
||||
#header1( "Temporary Top Page" )
|
||||
#if( $logged_in )
|
||||
<p>You are currently logged in.</p>
|
||||
<p>This Service Provider can interact with the following Identity Providers:</p>
|
||||
<table border="1">
|
||||
<tr>
|
||||
<td>ProviderID</td>
|
||||
<td>Authenticated?</td>
|
||||
<td>Federated?</td>
|
||||
</tr>
|
||||
#foreach( $p in $provider_data )
|
||||
#set( $ep = "#encodeURL( $p.provider )" )
|
||||
<tr>
|
||||
<td>$p.provider</td>
|
||||
<td>
|
||||
#if( $p.logged_in )
|
||||
Logged in at: #formatDate( $p.login_time )
|
||||
#if( $p.expire_time )
|
||||
<br />Session will expire at: #formatDate( $p.expire_time )
|
||||
#end
|
||||
<br />
|
||||
<a href="#formatURL( "SERVLET" "sourceid/logout_sso.js.vs?provider=$ep" )">Click here to log out.</a>
|
||||
#else
|
||||
Not logged in.
|
||||
#end
|
||||
</td>
|
||||
<td>
|
||||
#if( $p.federated )
|
||||
Federated.<br />
|
||||
<a href="#formatURL( "SERVLET" "sourceid/defederate.js.vs?provider=$ep" )">Click to terminate
|
||||
federation.</a>
|
||||
#else
|
||||
Not federated.<br />
|
||||
<a href="#formatURL( "SERVLET" "sourceid/federate.js.vs?provider=$ep" )">Click to federate.</a>
|
||||
#end
|
||||
</td>
|
||||
</tr>
|
||||
#end
|
||||
</table>
|
||||
#else
|
||||
<p>User not logged in.</p>
|
||||
#end
|
||||
Reference in New Issue
Block a user