Package org.apereo.cas.authentication.credential


package org.apereo.cas.authentication.credential

Authentication validates the Credentials provided during a /login request. In this context, "Credentials" are an opaque object declared with the Credentials marker interface. The AuthenticationManager typically passes the Credentials to a sequence of plug-in elements to see if any of them can recognize and process the concrete implementing type.

Successful authentication generates a Principal object wrapped in an Authentication object. All these objects must be serializable, and the Authentication becomes part of the TGT in the ticket cache.

Unsuccessful authentication must throw an AuthenticationException. The AuthenticationManager may not return null to signal a failure.

Since:
3.0