Class ManagerWebResource

java.lang.Object
org.openremote.container.web.WebResource
org.openremote.manager.web.ManagerWebResource
All Implemented Interfaces:
org.openremote.container.security.AuthContext
Direct Known Subclasses:
AgentResourceImpl, AlarmResourceImpl, AssetDatapointResourceImpl, AssetModelResourceImpl, AssetPredictedDatapointResourceImpl, AssetResourceImpl, ConfigurationResourceImpl, ConsoleResourceImpl, DashboardResourceImpl, FlowResourceImpl, GatewayClientResourceImpl, GatewayServiceResourceImpl, ProvisioningResourceImpl, RealmResourceImpl, RulesResourceImpl, UserResourceImpl

public class ManagerWebResource extends org.openremote.container.web.WebResource
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final ManagerIdentityService
     
    protected final org.openremote.container.timer.TimerService
     

    Fields inherited from class org.openremote.container.web.WebResource

    application, httpHeaders, request, response, securityContext, uriInfo
  • Constructor Summary

    Constructors
    Constructor
    Description
    ManagerWebResource(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openremote.model.security.Realm
     
    org.openremote.model.security.Realm
     
    boolean
     
    boolean
    isRealmActiveAndAccessible(org.openremote.model.security.Realm realm)
     
    boolean
     

    Methods inherited from class org.openremote.container.web.WebResource

    getApplication, getAuthContext, getAuthenticatedRealmName, getClientId, getClientRemoteAddress, getContainer, getRequestRealmName, getUserId, getUsername, hasRealmRole, hasResourceRole, isAuthenticated

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.openremote.container.security.AuthContext

    hasResourceRoleOrIsSuperUser, isRealmAccessibleByUser, isSuperUser
  • Field Details

    • timerService

      protected final org.openremote.container.timer.TimerService timerService
    • identityService

      protected final ManagerIdentityService identityService
  • Constructor Details

    • ManagerWebResource

      public ManagerWebResource(org.openremote.container.timer.TimerService timerService, ManagerIdentityService identityService)
  • Method Details

    • isRestrictedUser

      public boolean isRestrictedUser()
    • getAuthenticatedRealm

      public org.openremote.model.security.Realm getAuthenticatedRealm()
    • getRequestRealm

      public org.openremote.model.security.Realm getRequestRealm()
    • isRealmActiveAndAccessible

      public boolean isRealmActiveAndAccessible(String realm)
    • isRealmActiveAndAccessible

      public boolean isRealmActiveAndAccessible(org.openremote.model.security.Realm realm)