Package eTextReader.authentication

This package provides a mechanism for the eTextReader application to support a variety of authentication mechanisms.

See:
          Description

Interface Summary
Authenticator A set of methods that can be used to authenticate a user given an identity and some "secret& to verify that identity.
PasswordPolicy This interface defines a set of methods used to determine whether or not a given password is valid
 

Class Summary
CompoundPolicy This class provides a mechanism by which two or more other PasswordPolicy implementations can be combined using a Boolean AND operation.
MinimumLengthPolicy This class implements a password policy that requires a minimum length password to be supplied.
 

Enum Summary
Authenticator.AUTHENTICATION_RESULT This enum provides the set of possible return values for the authenticate and updateSecret methods.
 

Package eTextReader.authentication Description

This package provides a mechanism for the eTextReader application to support a variety of authentication mechanisms. There are two main interfaces that are the basic building blocks for providing an authentication mechanism:

A few implementations of PasswordPolicy are included, such as MinimumLengthPolicy, IncludesCharacterClass, and CompoundPolicy.