We're updating the issue view to help you get more done. 

Add cargo.servlet.users support to Glassfish 4.x

Description

At present I am doing this work around to enable user authentication on glassfish. It would be nice if it were integrated with cargo.servlet.users.

The keyfile file contains user and hashed password data. Not sure if it allows non-hashed data yet.

The second XML island is to enable group to role mapping which may be useful as a default. (Though can be overriden by a property)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <configfiles> <configfile> <file>${basedir}/src/main/cargo/keyfile</file> <todir>cargo-domain/config/</todir> <overwrite>true</overwrite> </configfile> </configfiles> <xmlReplacements> <xmlReplacement> <file>cargo-domain/config/domain.xml</file> <xpathExpression>//security-service</xpathExpression> <attributeName>activate-default-principal-to-role-mapping</attributeName> <value>true</value> </xmlReplacement> </xmlReplacements>

Status

Assignee

Archimedes Trajano

Reporter

Archimedes Trajano

Components

Fix versions

Affects versions

1.4.6

Priority

Major