checkRole(Map< String, Object >, String, SecSubject ) method

Checks if the specified user has the specified role.

Syntax

int checkRole ( Map< String, Object > context , String roleName , SecSubject subject ) throws SecException

Parameters

Returns

one of the VOTE_* contants from Const

Exceptions