Changeset 2775
- Timestamp:
- 07/08/07 16:34:42 (13 years ago)
- Location:
- TI05-delivery/ows_framework/trunk/ows_server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/trunk/ows_server/ndgDiscovery.config
r2772 r2775 97 97 # entire purpose of the rest of the list is to simplify updates. These 98 98 # hosts do not need to be visible outside of corporate firewalls. 99 # The list should be of the form reposit roy: hostname where repository99 # The list should be of the form repository: hostname where repository 100 100 # is the NDG identifier. 101 101 # -
TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/login.py
r2772 r2775 138 138 session['panelView']='History' 139 139 session.save() 140 140 141 141 # Make a security cookie here ... 142 142 … … 149 149 # is there a keyword on redirect_to that can make this https? See: 150 150 # http://pylonshq.com/project/pylonshq/browser/Pylons/trunk/pylons/decorators/secure.py#L69 151 token='smURI=%s&sessID=%s&username=%s&roles=%s'%(smURI,sessID,username,roles) 151 token='smURI=%s&sessID=%s&username=%s&roles=%s' % (smURI, 152 sessID, 153 username, 154 attCert.roles) 152 155 if '?' in c.returnTo: 153 156 cc=c.returnTo+'&'+token -
TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/ndgSecurity.py
r2754 r2775 112 112 113 113 if self.securityTokens is not None: 114 return self.__checkA ccess()114 return self.__checkAttCert() 115 115 else: 116 116 return False, self.__class__.NotLoggedInMsg … … 139 139 140 140 except AttributeRequestDenied, e: 141 # TODO: write exception to log 141 142 return False, self.__class__.AccessDeniedMsg 142 143 -
TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/ndgPage.kid
r2773 r2775 114 114 <!--! now we choose one of the next two (logged in or not) --> 115 115 <div py:if="'ndgSec' in session"><table><tbody><tr><td> User [${session['ndgSec']['u']}] logged in 116 at [${session['ndgSec']['h']}] with roles [${', '.join(session['ndgSec']['r'])}]</td><td>116 at [${session['ndgSec']['h']}] with roles ${session['ndgSec']['r']}</td><td> 117 117 <span py:replace="logOut()"/></td></tr></tbody></table></div> 118 118 <div py:if="'ndgSec' not in session">Further services maybe available if you can
Note: See TracChangeset
for help on using the changeset viewer.