checkRole(String, SecSubject , String) method

Same as the checkRole(String roleName, SecSubject subject) method but you may explicitly identify the package scope for mapping roles to be tested.

Syntax

boolean checkRole ( String roleName , SecSubject subject , String scope )

Parameters

Returns

true if the specified subject has the specified role, false if not.

Exceptions

Usage

true if the specified subject has the specified role, false if not.