The credentials being used from that file are the below:
test:
password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS,ROLE_GROUPS
foo1:
password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
foo2:
password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
foo3:
password,ROLE_ADMIN,ROLE_USERS,ROLE_ROLES,ROLE_PERMS,ROLE_SSDS,ROLE_DSDS,ROLE_POLICIES,ROLE_USEROUS,ROLE_PERMOUS,ROLE_PERMOBJS,ROLE_ADMINOBJS,ROLE_ADMINPERMS,ROLE_ADMINROLES,ROLE_AUDIT_AUTHZS,ROLE_AUDIT_MODS,ROLE_AUDIT_BINDS
user: user,ROLE_USERS
role: role,ROLE_ROLES
perm: perm,ROLE_PERMS
ssd: ssd,ROLE_SSDS
dsd: dsd,ROLE_DSDS
policy: policy,ROLE_POLICIES
userou: userou,ROLE_USEROUS
permou: permou,ROLE_PERMOUS
permobj: permobj,ROLE_PERMOBJS
adminobj: adminobj,ROLE_ADMINOBJS
adminperm: adminperm,ROLE_ADMINPERMS
adminrole: adminrole,ROLE_ADMINROLES
authzs: authz,ROLE_AUDIT_AUTHZS
mods: mod,ROLE_AUDIT_MODS
binds: bind,ROLE_AUDIT_BINDS
I am giving username/pass as "test" and "password" so i am in the lines
of it. But as the jira tikect is explaining i have not set this property
/System.setProperty("version", "1.0-RC39"); /This is the values that
where there by default. Should this be changed to something else?
Thanks,
D,
On 7/12/2016 4:40 AM, Shawn McKinney wrote:
On Jul 11, 2016, at 1:42 PM, Damianos Metallidis <[email protected]> wrote:
I have overpassed this problem as i checked similar implementations and indeed
there was a dependency for jxm-jetty missing.
This although i cannot enter the application. Can you describe what was the
issue please you stated before? Regarding the security?
Here it be:
http://issues.apache.org/jira/browse/FC-174
On Jul 11, 2016, at 1:42 PM, Damianos Metallidis <[email protected]> wrote:
I give test and password as username/pass and they are invalid.
Are you using creds from the necessary jetty file?
Here an excerpt from some code you’d shared:
// Setup the test security realm, its name must match what's in the web.xml's
'realm-name' tag:
HashLoginService dummyLoginService = new HashLoginService(
"SentrySecurityRealm");
dummyLoginService.setConfig("/home/directory-fortress-commander/src/test/resources/jetty-users.properties");
Are you using credentials that are located in that file?
Shawn