Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
package

javax.security.auth.login

This package provides a pluggable and stackable authentication system based on ideas and concepts from the Unix-PAM module. New authentication methods can be specified simply via a new LoginModule and chained together with the existing ones.

Note that the current implementation of this package is not complete, that is, not compatible with desktop implementations of the Java programming language. It contains only what was needed to make the compiler happy, that is, classes required by other packages.

Exceptions

LoginException Base class for exceptions that are thrown when a login error occurs.