UserConsentModel.getGrantedProtocolMappers
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.keycloak.models.UserConsentModel.getGrantedProtocolMappers (Showing top 3 results out of 315)

origin: org.keycloak/keycloak-model-mongo

private void fillEntityFromModel(UserConsentModel consent, MongoUserConsentEntity consentEntity) {
  List<String> roleIds = new LinkedList<String>();
  for (RoleModel role : consent.getGrantedRoles()) {
    roleIds.add(role.getId());
  }
  consentEntity.setGrantedRoles(roleIds);
  List<String> protMapperIds = new LinkedList<String>();
  for (ProtocolMapperModel protMapperModel : consent.getGrantedProtocolMappers()) {
    protMapperIds.add(protMapperModel.getId());
  }
  consentEntity.setGrantedProtocolMappers(protMapperIds);
  consentEntity.setLastUpdatedDate(Time.currentTimeMillis());
}
origin: org.keycloak/keycloak-model-api

for (ProtocolMapperModel protocolMapper : model.getGrantedProtocolMappers()) {
  String protocol = protocolMapper.getProtocol();
  List<String> currentProtocolMappers = grantedProtocolMappers.get(protocol);
origin: org.keycloak/keycloak-account-freemarker

processRoles(consent.getGrantedRoles(), realmRolesGranted, resourceRolesGranted);
for (ProtocolMapperModel protocolMapper : consent.getGrantedProtocolMappers()) {
  claimsGranted.add(protocolMapper.getConsentText());
org.keycloak.modelsUserConsentModelgetGrantedProtocolMappers

Popular methods of UserConsentModel

  • <init>
  • getClient
  • getGrantedRoles
  • setCreatedDate
  • setLastUpdatedDate
  • addGrantedClientScope
  • addGrantedProtocolMapper
  • addGrantedRole
  • getGrantedClientScopes
  • getCreatedDate
  • getLastUpdatedDate
  • getLastUpdatedDate

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Kernel (java.awt.image)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Table (org.hibernate.mapping)
    A relational table

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)