Returns the credentials associated with the corresponding Subject. A credential verifies one or more of the
{@link #getPrincipals() principals} associated with the Subject, such as a password or private key. Credentials
are used by Shiro particularly during the authentication process to ensure that submitted credentials
during a login attempt match exactly the credentials here in the <code>AuthenticationInfo</code> instance.
@return the credentials associated with the corresponding Subject.
Returns the credentials associated with the corresponding Subject. A credential verifies one or more of the {@link #getPrincipals() principals} associated with the Subject, such as a password or private key. Credentials are used by Shiro particularly during the authentication process to ensure that submitted credentials during a login attempt match exactly the credentials here in the <code>AuthenticationInfo</code> instance.
@return the credentials associated with the corresponding Subject.