Class ScopeAdapter

java.lang.Object
org.keycloak.authorization.model.AbstractAuthorizationModel
org.keycloak.authorization.jpa.store.ScopeAdapter
All Implemented Interfaces:
org.keycloak.authorization.model.Scope, JpaModel<ScopeEntity>

public class ScopeAdapter extends org.keycloak.authorization.model.AbstractAuthorizationModel implements org.keycloak.authorization.model.Scope, JpaModel<ScopeEntity>
Version:
$Revision: 1 $
Author:
Bill Burke
  • Constructor Details

    • ScopeAdapter

      public ScopeAdapter(ScopeEntity entity, jakarta.persistence.EntityManager em, org.keycloak.authorization.store.StoreFactory storeFactory)
  • Method Details

    • getEntity

      public ScopeEntity getEntity()
      Specified by:
      getEntity in interface JpaModel<ScopeEntity>
    • getId

      public String getId()
      Specified by:
      getId in interface org.keycloak.authorization.model.Scope
    • getName

      public String getName()
      Specified by:
      getName in interface org.keycloak.authorization.model.Scope
    • setName

      public void setName(String name)
      Specified by:
      setName in interface org.keycloak.authorization.model.Scope
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface org.keycloak.authorization.model.Scope
    • setDisplayName

      public void setDisplayName(String name)
      Specified by:
      setDisplayName in interface org.keycloak.authorization.model.Scope
    • getIconUri

      public String getIconUri()
      Specified by:
      getIconUri in interface org.keycloak.authorization.model.Scope
    • setIconUri

      public void setIconUri(String iconUri)
      Specified by:
      setIconUri in interface org.keycloak.authorization.model.Scope
    • getResourceServer

      public org.keycloak.authorization.model.ResourceServer getResourceServer()
      Specified by:
      getResourceServer in interface org.keycloak.authorization.model.Scope
    • toEntity

      public static ScopeEntity toEntity(jakarta.persistence.EntityManager em, org.keycloak.authorization.model.Scope scope)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object