getUsername() method

Subclasses should call this method to retrieve the username.

Syntax

String getUsername () throws IOException, UnsupportedCallbackException

Returns

the username.

Exceptions

Usage

Depending on the configuration of the login module this may result in a call to the callback handler or it may attempt to retrieve the username from the shared context.

the username.