Returns <tt>true</tt> if the corresponding Subject/user has the specified role, <tt>false</tt> otherwise.
@param subjectPrincipal the application-specific subject/user identifier.
@param roleIdentifier the application-specific role identifier (usually a role id or role name).
@return <tt>true</tt> if the corresponding subject has the specified role, <tt>false</tt> otherwise.
Returns <tt>true</tt> if the corresponding Subject/user has the specified role, <tt>false</tt> otherwise.
@param subjectPrincipal the application-specific subject/user identifier. @param roleIdentifier the application-specific role identifier (usually a role id or role name). @return <tt>true</tt> if the corresponding subject has the specified role, <tt>false</tt> otherwise.