Check whether the user is authenticated in a specified resource realm, or in the resource realm assigned to the application when it was deployed.
Parameter Description realm Optional. The name of a realm name defined in authenticationConfig.xml.
If no value is specified, the method uses the resource realm assigned to the application when it was deployed.
- true if the user is authenticated in the realm
- false otherwise