From: Sanjay Dalal Date: Mon, 1 Mar 2010 21:19:35 +0000 (+0000) Subject: CSPACE-1073 a snapshot of login-config.xml is in authentication/service/src/main... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=9dccc26fd45250e53e84a29d71fb575deee51a71;p=tmp%2Fjakarta-migration.git CSPACE-1073 a snapshot of login-config.xml is in authentication/service/src/main/resource/config. With ant deploy, this copied over to $JBOSS_HOME/server/cspace/conf/login-config.xml (after backuping it up to $JBOSS_HOME/server/cspace/conf/login-config.xml.org). Undeploy restores $JBOSS_HOME/server/cspace/conf/login-config.xml with $JBOSS_HOME/server/cspace/conf/login-config.xml.org A authentication/service/src/main/resources/config/login-config.xml M authentication/service/build.xml --- diff --git a/services/authentication/service/build.xml b/services/authentication/service/build.xml index 596d5e4c5..12bf7a9a6 100644 --- a/services/authentication/service/build.xml +++ b/services/authentication/service/build.xml @@ -113,18 +113,26 @@ + + + - - + - - + + + + + + + + + + + + true + + + + + + + + + guest + java:/DefaultDS + SELECT PASSWD FROM JMS_USERS WHERE USERID=? + SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? + + + + + + + + + + + sa + sa + + jboss.jca:service=LocalTxCM,name=DefaultDS + + + + + + + + guest + guest + guest + jboss.jca:service=TxCM,name=JmsXA + + + + + + + + + props/jmx-console-users.properties + props/jmx-console-roles.properties + + + + + + + + + web-console-users.properties + web-console-roles.properties + + + + + + + + + props/jbossws-users.properties + props/jbossws-roles.properties + anonymous + + + + + + + + CspaceDS + SHA-256 + false + org.collectionspace.authentication.CSpacePrincipal + + select passwd from users where username=? + + + select rolename, 'Roles' from users_roles where username=? + + + select t.id, t.name, 'Tenants' from accounts_common as a, accounts_tenants as at, tenants as t where a.userid=? and a.csid = at.TENANTS_ACCOUNTSCOMMON_CSID and at.tenant_id = t.id + + + + + + + + + + + + + + +