org.jboss.resteasy.skeleton.key.representations.idm

## Class RealmRepresentation

- java.lang.Object
- - org.jboss.resteasy.skeleton.key.representations.idm.RealmRepresentation

-     public class RealmRepresentation
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected long` | `accessCodeLifespan`
    `protected boolean` | `cookieLoginAllowed`
    `protected boolean` | `enabled`
    `protected String` | `realm`
    `protected List<RequiredCredentialRepresentation>` | `requiredCredentials`
    `protected List<ResourceRepresentation>` | `resources`
    `protected List<RoleMappingRepresentation>` | `roleMappings`
    `protected List<ScopeMappingRepresentation>` | `scopeMappings`
    `protected String` | `self`
    `protected boolean` | `sslNotRequired`
    `protected long` | `tokenLifespan`
    `protected List<UserRepresentation>` | `users`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RealmRepresentation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getAccessCodeLifespan()`
    `String` | `getRealm()`
    `List<RequiredCredentialRepresentation>` | `getRequiredCredentials()`
    `List<ResourceRepresentation>` | `getResources()`
    `List<RoleMappingRepresentation>` | `getRoleMappings()`
    `List<ScopeMappingRepresentation>` | `getScopeMappings()`
    `String` | `getSelf()`
    `long` | `getTokenLifespan()`
    `List<UserRepresentation>` | `getUsers()`
    `boolean` | `isCookieLoginAllowed()`
    `boolean` | `isEnabled()`
    `boolean` | `isSslNotRequired()`
    `ResourceRepresentation` | `resource(String name)`
    `RoleMappingRepresentation` | `roleMapping(String username)`
    `ScopeMappingRepresentation` | `scopeMapping(String username)`
    `void` | `setAccessCodeLifespan(long accessCodeLifespan)`
    `void` | `setCookieLoginAllowed(boolean cookieLoginAllowed)`
    `void` | `setEnabled(boolean enabled)`
    `void` | `setRealm(String realm)`
    `void` | `setRequiredCredentials(List<RequiredCredentialRepresentation> requiredCredentials)`
    `void` | `setResources(List<ResourceRepresentation> resources)`
    `void` | `setSelf(String self)`
    `void` | `setSslNotRequired(boolean sslNotRequired)`
    `void` | `setTokenLifespan(long tokenLifespan)`
    `void` | `setUsers(List<UserRepresentation> users)`
    `UserRepresentation` | `user(String username)`

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

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

- - ### Field Detail

    - #### self

          protected String self

    - #### realm

          protected String realm

    - #### tokenLifespan

          protected long tokenLifespan

    - #### accessCodeLifespan

          protected long accessCodeLifespan

    - #### enabled

          protected boolean enabled

    - #### sslNotRequired

          protected boolean sslNotRequired

    - #### cookieLoginAllowed

          protected boolean cookieLoginAllowed

    - #### requiredCredentials

          protected List<RequiredCredentialRepresentation> requiredCredentials

    - #### users

          protected List<UserRepresentation> users

    - #### roleMappings

          protected List<RoleMappingRepresentation> roleMappings

    - #### scopeMappings

          protected List<ScopeMappingRepresentation> scopeMappings

    - #### resources

          protected List<ResourceRepresentation> resources

  - ### Constructor Detail

    - #### RealmRepresentation

          public RealmRepresentation()

  - ### Method Detail

    - #### getSelf

          public String getSelf()

    - #### setSelf

          public void setSelf(String self)

    - #### getRealm

          public String getRealm()

    - #### setRealm

          public void setRealm(String realm)

    - #### getUsers

          public List<UserRepresentation> getUsers()

    - #### getResources

          public List<ResourceRepresentation> getResources()

    - #### resource

          public ResourceRepresentation resource(String name)

    - #### setUsers

          public void setUsers(List<UserRepresentation> users)

    - #### user

          public UserRepresentation user(String username)

    - #### setResources

          public void setResources(List<ResourceRepresentation> resources)

    - #### isEnabled

          public boolean isEnabled()

    - #### setEnabled

          public void setEnabled(boolean enabled)

    - #### isSslNotRequired

          public boolean isSslNotRequired()

    - #### setSslNotRequired

          public void setSslNotRequired(boolean sslNotRequired)

    - #### isCookieLoginAllowed

          public boolean isCookieLoginAllowed()

    - #### setCookieLoginAllowed

          public void setCookieLoginAllowed(boolean cookieLoginAllowed)

    - #### getTokenLifespan

          public long getTokenLifespan()

    - #### setTokenLifespan

          public void setTokenLifespan(long tokenLifespan)

    - #### getRoleMappings

          public List<RoleMappingRepresentation> getRoleMappings()

    - #### roleMapping

          public RoleMappingRepresentation roleMapping(String username)

    - #### getScopeMappings

          public List<ScopeMappingRepresentation> getScopeMappings()

    - #### scopeMapping

          public ScopeMappingRepresentation scopeMapping(String username)

    - #### getRequiredCredentials

          public List<RequiredCredentialRepresentation> getRequiredCredentials()

    - #### setRequiredCredentials

          public void setRequiredCredentials(List<RequiredCredentialRepresentation> requiredCredentials)

    - #### getAccessCodeLifespan

          public long getAccessCodeLifespan()

    - #### setAccessCodeLifespan

          public void setAccessCodeLifespan(long accessCodeLifespan)

Copyright © 2014. All Rights Reserved.