Ignore:
Timestamp:
22/05/08 15:08:26 (12 years ago)
Author:
pjkersha
Message:

Initial Integration of Single Sign On Service with OpenID and Pylons AuthKit?:

  • WAYF now contains an OpenID textbox for sign in
  • No role integration carried out yet - OpenID has no better privileges than an anonymous user(!)
  • Integrated into Authkit - requires lots of config settings in pylons ini file
  • HTTP 401 error get redirected automatically to WAYF
  • Need to create an AuthKit? egg from SVN 151 checkout - will put on NDG dist

SWITCH OFF security by setting standalone = False in ndgDiscovery.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/ndgPage.kid

    r3893 r3919  
    140140            # Base 64 encode to enable passing around in 'r' argument of query 
    141141            # string for use with login/logout 
    142             c.returnTo = c.requestURL 
    143             c.b64encReturnTo = urlsafe_b64encode(c.requestURL) 
     142            g.ndg.security.common.sso.state.returnToURL = c.requestURL 
     143            g.ndg.security.common.sso.state.b64encReturnToURL = urlsafe_b64encode(c.requestURL) 
    144144            ?> 
    145145        <form action="$g.logout"> 
    146             <input type="hidden" name="r" value="${c.b64encReturnTo}"/> 
     146            <input type="hidden" name="r" value="${g.ndg.security.common.sso.state.b64encReturnToURL}"/> 
    147147            <input type="submit" value="Logout"/> 
    148148        </form> 
     
    155155            # Base 64 encode to enable passing around in 'r' argument of query 
    156156            # string for use with login/logout 
    157             c.returnTo = c.requestURL 
    158             c.b64encReturnTo = urlsafe_b64encode(c.requestURL) 
     157            g.ndg.security.common.sso.state.returnToURL = c.requestURL 
     158            g.ndg.security.common.sso.state.b64encReturnToURL = urlsafe_b64encode(c.requestURL) 
    159159            ?> 
    160160        <form action="$g.wayfuri"> 
    161             <input type="hidden" name="r" value="${c.b64encReturnTo}"/> 
     161            <input type="hidden" name="r" value="${g.ndg.security.common.sso.state.b64encReturnToURL}"/> 
    162162            <input type="submit" value="Login"/> 
    163163        </form> 
Note: See TracChangeset for help on using the changeset viewer.