listRoles() method

Returns a list of all known security roles.

Syntax

Named[] listRoles ()

Returns

a list of all known security roles by Name

Exceptions

Usage

This role list will be taken from the configured attributers in addition to the list of any physical roles defined by active role mappers.

The roles will be returned sorted by name, then ID, using the java.lang.String.compareTo() method.

a list of all known security roles by Name