use of io.jans.configapi.rest.model.AuthenticationMethod in project jans by JanssenProject.
the class AcrsResource method getDefaultAuthenticationMethod.
@GET
@ProtectedApi(scopes = { ApiAccessConstants.ACRS_READ_ACCESS })
public Response getDefaultAuthenticationMethod() {
final GluuConfiguration gluuConfiguration = configurationService.findGluuConfiguration();
AuthenticationMethod authenticationMethod = new AuthenticationMethod();
authenticationMethod.setDefaultAcr(gluuConfiguration.getAuthenticationMode());
return Response.ok(authenticationMethod).build();
}
Aggregations