JwsContext.isCallerInRole(String) Method

Returns true if the authenticated principal is within the specified security role.

Syntax

public boolean isCallerInRole(String roleName)

Parameters

roleName

The name of the security role against which to check the authenticated principal.

Return Value

true if the authenticated principal is in the security role; otherwise false.

Exceptions

None.

Remarks

None.

Related Topics

JwsContext Interface

JwsContext.getCallerPrincipal() Method

Overview: Security