Search in sources :

Example 1 with AuthenticationMode

use of org.xdi.oxauth.model.auth.AuthenticationMode in project oxAuth by GluuFederation.

the class AppInitializer method setDefaultAuthenticationMethod.

private void setDefaultAuthenticationMethod(LdapEntryManager localLdapEntryManager) {
    GluuAppliance appliance = loadAppliance(localLdapEntryManager, "oxAuthenticationMode");
    authenticationMode = null;
    if (appliance != null) {
        this.authenticationMode = new AuthenticationMode(appliance.getAuthenticationMode());
    }
    authenticationModeInstance.destroy(authenticationModeInstance.get());
}
Also used : AuthenticationMode(org.xdi.oxauth.model.auth.AuthenticationMode) GluuAppliance(org.xdi.oxauth.model.appliance.GluuAppliance)

Aggregations

GluuAppliance (org.xdi.oxauth.model.appliance.GluuAppliance)1 AuthenticationMode (org.xdi.oxauth.model.auth.AuthenticationMode)1