org.keycloak.models.jpa.entities

## Class ApplicationEntity

- java.lang.Object
- - org.keycloak.models.jpa.entities.ClientEntity
  - - org.keycloak.models.jpa.entities.ApplicationEntity

-     @Entity
      public class ApplicationEntity
      extends ClientEntity

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    - ### Fields inherited from class org.keycloak.models.jpa.entities.ClientEntity

      `realm, redirectUris, webOrigins`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApplicationEntity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBaseUrl()`
    `Collection<RoleEntity>` | `getDefaultRoles()`
    `String` | `getManagementUrl()`
    `Collection<ApplicationRoleEntity>` | `getRoles()`
    `boolean` | `isBearerOnly()`
    `boolean` | `isSurrogateAuthRequired()`
    `void` | `setBaseUrl(String baseUrl)`
    `void` | `setBearerOnly(boolean bearerOnly)`
    `void` | `setDefaultRoles(Collection<RoleEntity> defaultRoles)`
    `void` | `setManagementUrl(String managementUrl)`
    `void` | `setRoles(Collection<ApplicationRoleEntity> roles)`
    `void` | `setSurrogateAuthRequired(boolean surrogateAuthRequired)`

    - ### Methods inherited from class org.keycloak.models.jpa.entities.ClientEntity

      `getAllowedClaimsMask, getId, getName, getNotBefore, getRealm, getRedirectUris, getSecret, getWebOrigins, isEnabled, isPublicClient, setAllowedClaimsMask, setEnabled, setId, setName, setNotBefore, setPublicClient, setRealm, setRedirectUris, setSecret, setWebOrigins`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ApplicationEntity

          public ApplicationEntity()

  - ### Method Detail

    - #### isSurrogateAuthRequired

          public boolean isSurrogateAuthRequired()

    - #### setSurrogateAuthRequired

          public void setSurrogateAuthRequired(boolean surrogateAuthRequired)

    - #### getBaseUrl

          public String getBaseUrl()

    - #### setBaseUrl

          public void setBaseUrl(String baseUrl)

    - #### getManagementUrl

          public String getManagementUrl()

    - #### setManagementUrl

          public void setManagementUrl(String managementUrl)

    - #### getRoles

          public Collection<ApplicationRoleEntity> getRoles()

    - #### setRoles

          public void setRoles(Collection<ApplicationRoleEntity> roles)

    - #### getDefaultRoles

          public Collection<RoleEntity> getDefaultRoles()

    - #### setDefaultRoles

          public void setDefaultRoles(Collection<RoleEntity> defaultRoles)

    - #### isBearerOnly

          public boolean isBearerOnly()

    - #### setBearerOnly

          public void setBearerOnly(boolean bearerOnly)

Copyright © 2014. All Rights Reserved.