Returns the credentials submitted by the user during the authentication process that verifies
the submitted {@link #getPrincipal() account identity}.
<p/>
<p>Most application authentications are username/password based and have this object
represent a submitted password. If this is the case for your application,
take a look at the {@link UsernamePasswordToken UsernamePasswordToken}, as it is probably
sufficient for your use.
<p/>
<p>Ultimately, the credentials Object returned is application specific and can represent
any credential mechanism.
@return the credential submitted by the user during the authentication process.
Returns the credentials submitted by the user during the authentication process that verifies the submitted {@link #getPrincipal() account identity}. <p/> <p>Most application authentications are username/password based and have this object represent a submitted password. If this is the case for your application, take a look at the {@link UsernamePasswordToken UsernamePasswordToken}, as it is probably sufficient for your use. <p/> <p>Ultimately, the credentials Object returned is application specific and can represent any credential mechanism.
@return the credential submitted by the user during the authentication process.