agave-systems/systems-core/src/main/java/org/iplantc/service/systems/model/AuthConfig.java
/**
	 * Returns whether the credential assigned to this auth config is
	 * expired. It does not, however, check the validity of the credential.
	 * If no credential is required, it returns false.
	 * @param salt
	 * @return
	 */
Returns whether the credential assigned to this auth config is
expired. It does not, however, check the validity of the credential.
If no credential is required, it returns false.
@param salt
@return
Returns whether the credential assigned to this auth config is expired . It does not however check the validity of the credential . If no credential is required it returns false . @param salt @return
public boolean isCredentialExpired(String salt) {
		if (!isCredentialRequired()) {
			return false;
		} else {
			return (getCredentialRemainingTime(salt) == 0);
		}
	}
public boolean isCredentialExpired ( String salt ) { if ( ! isCredentialRequired ( ) ) { return false ; } else { return ( getCredentialRemainingTime ( salt ) == 0 ) ; } }
Returns whether the credential assigned to this auth config is
 expired.
Returns whether the credential assigned to this auth config is expired .