@Override public AuthenticationFlowModel getResetCredentialsFlow() { if (updated != null) return updated.getResetCredentialsFlow(); return cached.getResetCredentialsFlow(); }
@GET @Path("/get-reset-cred-flow") @Produces(MediaType.APPLICATION_JSON) public AuthenticationFlowRepresentation getResetCredFlow(@QueryParam("realmName") String realmName) { RealmModel realm = getRealmByName(realmName); AuthenticationFlowModel flow = realm.getResetCredentialsFlow(); if (flow == null) return null; return ModelToRepresentation.toRepresentation(realm, flow); }
@Override public AuthenticationFlowModel getResetCredentialsFlow() { if (isUpdated()) return updated.getResetCredentialsFlow(); return cached.getResetCredentialsFlow(); }
registrationFlow = model.getRegistrationFlow(); directGrantFlow = model.getDirectGrantFlow(); resetCredentialsFlow = model.getResetCredentialsFlow(); clientAuthenticationFlow = model.getClientAuthenticationFlow();
registrationFlow = model.getRegistrationFlow(); directGrantFlow = model.getDirectGrantFlow(); resetCredentialsFlow = model.getResetCredentialsFlow(); clientAuthenticationFlow = model.getClientAuthenticationFlow(); dockerAuthenticationFlow = model.getDockerAuthenticationFlow();
if (realm.getRegistrationFlow() != null) rep.setRegistrationFlow(realm.getRegistrationFlow().getAlias()); if (realm.getDirectGrantFlow() != null) rep.setDirectGrantFlow(realm.getDirectGrantFlow().getAlias()); if (realm.getResetCredentialsFlow() != null) rep.setResetCredentialsFlow(realm.getResetCredentialsFlow().getAlias()); if (realm.getClientAuthenticationFlow() != null) rep.setClientAuthenticationFlow(realm.getClientAuthenticationFlow().getAlias());