isAuthenticated() method

Checks if the subject is authenticated.

Syntax

boolean isAuthenticated ()

Returns

true if this object represents an authenticated user or false otherwise.

Usage

Returns true if this objects represents an authenticated user or false if it just represents some user information, but that user is not currently authenticated in this application as far as this object knows. This method has the side-effect of attempting to authenticate the user if an attempt to authenticate the user is not already triggered.

true if this object represents an authenticated user or false otherwise.