/** * Sets the credential to be used by the authentication mechanism responding * to the authenticate call in which these AuthenticationParameters are passed. * * @param credential the credential to be used by the authentication mechanism * * @return the instance of AuthenticationParameters on which this call was made, useful for a fluent/builder * style creation of parameters. */ public AuthenticationParameters credential(Credential credential) { setCredential(credential); return this; }
/** * Sets the credential to be used by the authentication mechanism responding * to the authenticate call in which these AuthenticationParameters are passed. * * @param credential the credential to be used by the authentication mechanism * * @return the instance of AuthenticationParameters on which this call was made, useful for a fluent/builder * style creation of parameters. */ public AuthenticationParameters credential(Credential credential) { setCredential(credential); return this; }
/** * Sets the credential to be used by the authentication mechanism responding * to the authenticate call in which these AuthenticationParameters are passed. * * @param credential the credential to be used by the authentication mechanism * * @return the instance of AuthenticationParameters on which this call was made, useful for a fluent/builder * style creation of parameters. */ public AuthenticationParameters credential(Credential credential) { setCredential(credential); return this; }
/** * Sets the credential to be used by the authentication mechanism responding * to the authenticate call in which these AuthenticationParameters are passed. * * @param credential the credential to be used by the authentication mechanism * * @return the instance of AuthenticationParameters on which this call was made, useful for a fluent/builder * style creation of parameters. */ public AuthenticationParameters credential(Credential credential) { setCredential(credential); return this; }