@Override public boolean isConsentRequired() { if (updated != null) return updated.isConsentRequired(); return cached.isConsentRequired(); }
boolean isConsentRequired() { if (clientTemplate != null && client.useTemplateConfig()) { return clientTemplate.isConsentRequired(); } return client.isConsentRequired(); }
@Override public boolean isConsentRequired() { if (isUpdated()) return updated.isConsentRequired(); return cached.isConsentRequired(); }
MultivaluedHashMap<String, ClientRoleEntry> resourceRolesGranted = new MultivaluedHashMap<String, ClientRoleEntry>(); List<String> claimsGranted = new LinkedList<String>(); if (client.isConsentRequired()) { UserConsentModel consent = user.getConsentByClient(client.getId());
defaultRoles.addAll(model.getDefaultRoles()); bearerOnly = model.isBearerOnly(); consentRequired = model.isConsentRequired(); standardFlowEnabled = model.isStandardFlowEnabled(); implicitFlowEnabled = model.isImplicitFlowEnabled();
defaultRoles.addAll(model.getDefaultRoles()); bearerOnly = model.isBearerOnly(); consentRequired = model.isConsentRequired(); standardFlowEnabled = model.isStandardFlowEnabled(); implicitFlowEnabled = model.isImplicitFlowEnabled();
rep.setFullScopeAllowed(clientModel.isFullScopeAllowed()); rep.setBearerOnly(clientModel.isBearerOnly()); rep.setConsentRequired(clientModel.isConsentRequired()); rep.setStandardFlowEnabled(clientModel.isStandardFlowEnabled()); rep.setImplicitFlowEnabled(clientModel.isImplicitFlowEnabled());
} else { if (client.getClientTemplate() != null) { client.setFullScopeAllowed(!client.isConsentRequired() && client.getClientTemplate().isFullScopeAllowed()); client.setFullScopeAllowed(!client.isConsentRequired());