@Override public Map<String, String> getAuthenticationFlowBindingOverrides() { if (isUpdated()) return updated.getAuthenticationFlowBindingOverrides(); Map<String, String> copy = new HashMap<String, String>(); copy.putAll(cached.getAuthFlowBindings()); return copy; }
@Override public String getAttribute(String name) { if (isUpdated()) return updated.getAttribute(name); return cached.getAttributes().get(name); }
@Override public String getAuthenticationFlowBindingOverride(String name) { if (isUpdated()) return updated.getAuthenticationFlowBindingOverride(name); return cached.getAuthFlowBindings().get(name); }
@Override public String getRootUrl() { if (isUpdated()) return updated.getRootUrl(); return cached.getRootUrl(); }
@Override public boolean isConsentRequired() { if (isUpdated()) return updated.isConsentRequired(); return cached.isConsentRequired(); }
@Override public boolean isImplicitFlowEnabled() { if (isUpdated()) return updated.isImplicitFlowEnabled(); return cached.isImplicitFlowEnabled(); }
@Override public String getId() { if (isUpdated()) return updated.getId(); return cached.getId(); }
@Override public Set<ProtocolMapperModel> getProtocolMappers() { if (isUpdated()) return updated.getProtocolMappers(); return cached.getProtocolMappers(); }
@Override public boolean isServiceAccountsEnabled() { if (isUpdated()) return updated.isServiceAccountsEnabled(); return cached.isServiceAccountsEnabled(); }
@Override public String getClientAuthenticatorType() { if (isUpdated()) return updated.getClientAuthenticatorType(); return cached.getClientAuthenticatorType(); }
@Override public String getManagementUrl() { if (isUpdated()) return updated.getManagementUrl(); return cached.getManagementUrl(); }
@Override public List<String> getDefaultRoles() { if (isUpdated()) return updated.getDefaultRoles(); return cached.getDefaultRoles(); }
@Override public Map<String, Integer> getRegisteredNodes() { if (isUpdated()) return updated.getRegisteredNodes(); return cached.getRegisteredNodes(); }
@Override public String getDescription() { if (isUpdated()) return updated.getDescription(); return cached.getDescription(); }
@Override public boolean isSurrogateAuthRequired() { if (isUpdated()) return updated.isSurrogateAuthRequired(); return cached.isSurrogateAuthRequired(); }
@Override public boolean isBearerOnly() { if (isUpdated()) return updated.isBearerOnly(); return cached.isBearerOnly(); }
@Override public boolean isStandardFlowEnabled() { if (isUpdated()) return updated.isStandardFlowEnabled(); return cached.isStandardFlowEnabled(); }
public boolean isEnabled() { if (isUpdated()) return updated.isEnabled(); return cached.isEnabled(); }
public Set<String> getWebOrigins() { if (isUpdated()) return updated.getWebOrigins(); return cached.getWebOrigins(); }
public Set<RoleModel> getScopeMappings() { if (isUpdated()) return updated.getScopeMappings(); Set<RoleModel> roles = new HashSet<RoleModel>(); for (String id : cached.getScope()) { roles.add(cacheSession.getRoleById(id, getRealm())); } return roles; }