10.5 Ensure 'security-role' is defined for role based authorization checks for Web and EJB applications

Information

Configuring authorization for your application is to verify whether a user or group belongs to a specified role, and whether this role has the privilege to access a resource.

Defining authorization roles ensures users cannot access resources they are not authorized to use.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Create the necessary role mappings for applications in the ${server.config.dir}/configDropins/overrides/<any file name>.xml Example:

<application-bnd>
<security-role name="admin">
<group name="Manager" />
<group name="TeamLead" />
</security-role>
<security-role name="user">
<group name="Employee" />
</security-role>
</application-bnd>

Follow steps in the

Liberty Authorization Doc

See Also

https://workbench.cisecurity.org/benchmarks/7724