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();
}
Aggregations