#------------------------------------------------------------------------------
# MIT Roles test data
#------------------------------------------------------------------------------
testMitRolesAuthorizationService.user = sabrown

# test this when searching for all auths by user and category
testMitRolesAuthorizationService.categorySearch = REG
testMitRolesAuthorizationService.categorySearch.expected = PE_STELLAR,WTW_REPORT_ADMIN|14 4 8,PE_CREATOR,PE_ADMIN,PE_IMPERSONATE,WTW_READ|7 8 1 2 3 4 5 6 9 10,WTW_ADMIN

# test each of these when searching for auths by function. One gives 
# qualifiers, the other does not
testMitRolesAuthorizationService.functionSearches = WTW_REPORT_ADMIN, PE_ADMIN
testMitRolesAuthorizationService.functionSearches.expected = WTW_REPORT_ADMIN|14 4 8,PE_ADMIN

# for testing search by qualifier. Expected will match search spec.
testMitRolesAuthorizationService.qualifierSearch = WTW_REPORT_ADMIN|10

# test data which should not give authorizations
testMitRolesAuthorizationService.fail.function = TODO
testMitRolesAuthorizationService.fail.qualifier = WTW_REPORT_ADMIN|1

#------------------------------------------------------------------------------
# STV Roles test properties. These should be set to work with the DEV environment.
#------------------------------------------------------------------------------
# properties which should be authorized
testStvRolesAuthorizationService.user = sabrown

testStvRolesAuthorizationService.categorySearch = TODO
testStvRolesAuthorizationService.categorySearch.expected = TODO

testStvRolesAuthorizationService.functionSearch = TODO
testStvRolesAuthorizationService.functionSearch.expected = TODO

testStvRolesAuthorizationService.qualifierSearch = TODO
 
# test data which should not give authorizations
testStvRolesAuthorizationService.fail.function = TODO
testStvRolesAuthorizationService.fail.qualifier = TODO

#------------------------------------------------------------------------------
# test user details service properties - is test with local auth enough ?
#------------------------------------------------------------------------------
# properties which should have auths
testUserDetailsService.user = sabrown
testUserDetailsService.category = REG
testUserDetailsService.expected = TODO

# properties which should not be authorized
testUserDetailsService.user = sabrown
testUserDetailsService.category = TODO

#------------------------------------------------------------------------------
# UNIT TEST PROPERTIES
#------------------------------------------------------------------------------
webservices.keyStore=${user.home}/keystores/registrar-test.jks
webservices.keyStorePassword=changeit
webservices.trustStore=${user.home}/keystores/serverTrustStore.jks
webservices.trustStorePassword=changeit

#------------------------------------------------------------------------------
# LOCAL PROPERTIES
#------------------------------------------------------------------------------
mitsis.database.username = your-username
mitsis.database.password = your-password
mitsis.database.url = jdbc:oracle:thin:@earth-vault-2.mit.edu:1523:SUNDEV2

#------------------------------------------------------------------------------
# COMMON HIBERNATE PROPERTIES
#------------------------------------------------------------------------------
hibernate.format_sql=false
hibernate.show_sql=true
hibernate.generate_statistics=false
hibernate.hbm2ddl.auto=
hibernate.dialect=org.hibernate.dialect.Oracle10gDialect

webservices.mitroles.url=https://mapws-stage.mit.edu/uaws/services/ua

