Ignore:
Timestamp:
25/02/09 13:52:50 (11 years ago)
Author:
pjkersha
Message:

ndg.security.server.wsgi.authn: AuthNMiddleware and AuthNRedirectMiddleware catch HTTP 401 responses from a WSGI application stack to be protected and redirect to OpenID Relying Party middleware running on an application server running NDG Security services.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/sqlalchemy/test_sqlalchemy.py

    r4544 r5037  
    33from sqlalchemy import create_engine 
    44 
     5from sqlalchemy import Table, Column, Integer, String, MetaData, ForeignKey 
     6 
     7class CreateResourceConstraintsDb(object): 
     8 
     9    def createResourceConstraintsTable(self): 
     10        metadata = MetaData() 
     11        users_table = Table('resource_constraints', metadata, 
     12            Column('id', Integer, primary_key=True), 
     13            Column('uri_regex', String)) 
     14         
     15    def createActionTypeTable(self): 
     16        metadata = MetaData() 
     17        users_table = Table('action_type', metadata, 
     18            Column('id', Integer, primary_key=True), 
     19            Column('uri_regex', String), 
     20            Column('action', String)) 
     21         
     22    def createAttributesTable(self): 
     23        metadata = MetaData() 
     24        users_table = Table('attributes', metadata, 
     25            Column('id', Integer, primary_key=True), 
     26            Column('uri_regex', String), 
     27            Column('attribute', String)) 
     28             
    529if __name__ == "__main__": 
    630    import sys 
Note: See TracChangeset for help on using the changeset viewer.