public String getOnUnauthenticatedRequest() {
        return this.onUnauthenticatedRequest;
    }
<p>
The behavior if the user is not authenticated. The following are possible values:
</p>
<ul>
<li>
<p>
deny<code/> - Return an HTTP 401 Unauthorized error.
</p>
</li>
<li>
<p>
allow<code/> - Allow the request to be forwarded to the target.
</p>
</li>
<li>
<p>
authenticate<code/> - Redirect the request to the IdP authorization endpoint. This is the default value.
</p>
</li>
</ul>

@return The behavior if the user is not authenticated. The following are possible values:</p>
        <ul>
        <li>
        <p>
        deny<code/> - Return an HTTP 401 Unauthorized error.
        </p>
        </li>
        <li>
        <p>
        allow<code/> - Allow the request to be forwarded to the target.
        </p>
        </li>
        <li>
        <p>
        authenticate<code/> - Redirect the request to the IdP authorization endpoint. This is the default value.
        </p>
        </li>
@see AuthenticateCognitoActionConditionalBehaviorEnum
aws-java-sdk-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/model/AuthenticateCognitoActionConfig.java