Search in sources :

Example 1 with DuoDirectCredential

use of org.apereo.cas.adaptors.duo.authn.DuoDirectCredential in project cas by apereo.

the class DuoDirectAuthenticationAction method doExecute.

@Override
protected Event doExecute(final RequestContext requestContext) {
    final DuoDirectCredential c = new DuoDirectCredential(WebUtils.getAuthentication(requestContext));
    WebUtils.putCredential(requestContext, c);
    return success();
}
Also used : DuoDirectCredential(org.apereo.cas.adaptors.duo.authn.DuoDirectCredential)

Aggregations

DuoDirectCredential (org.apereo.cas.adaptors.duo.authn.DuoDirectCredential)1