object ApplicationFacade
- Alphabetic
- By Inheritance
- ApplicationFacade
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def accessTokenLogin(accessToken: String, applicationFacade: => ApplicationFacade): UUID
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authorizationHeaderName: String
The name of the standard HTTP authorization header.
The name of the standard HTTP authorization header. The value is 'Authorization'
- def basicAuthLogin(base64Credentials: String, applicationFacade: => ApplicationFacade): UUID
- def checkUserAccess(authorization: AuthorizationManager, access: Option[UserAccess], authScope: Option[Scope] = None): Unit
Checks whether an authorized user is compatible with a given access definition, and fails if not.
Checks whether an authorized user is compatible with a given access definition, and fails if not.
- authorization
An authorization manager which holds information on user authorization.
- access
The given access definition.
- authScope
An optional authorization scope to consider.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val datasolvrAuthHeaderName: String
The name of the header which holds the auth token for API calls.
The name of the header which holds the auth token for API calls. The value is 'Datasolvr-Auth'
- val defaultServiceExpiration: Int
The default value for
timeoutused in ApplicationFacade.getServiceLocation.The default value for
timeoutused in ApplicationFacade.getServiceLocation. The value is 120. - val defaultServiceWaitTimeout: Int
The default value for
timeoutused in ApplicationFacade.getServiceLocation.The default value for
timeoutused in ApplicationFacade.getServiceLocation. The value is equal to EnvironmentVariables.DATASOLVR_WEB_SERVICE_TIMEOUT. - val environmentId: String
The reserved environment id used for the this service.
The reserved environment id used for the this service. The value is 'default'
- val environmentQueryParamName: String
The name of the query parameter which holds the environment for API calls.
The name of the query parameter which holds the environment for API calls. The value is 'ds_environment'
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hasUserAccess(authorization: AuthorizationManager, access: Option[UserAccess], authScope: Option[Scope] = None): Boolean
Gets whether an authorized user is compatible with a given access definition.
Gets whether an authorized user is compatible with a given access definition.
- authorization
An authorization manager which holds information on user authorization.
- access
The given access definition.
- authScope
An optional authorization scope to consider.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logEnvironment: String
The reserved environment id used for storing logs.
The reserved environment id used for storing logs. The value is 'logs'
- def loginFromAuthorizationHeader(authorizationHeader: String, applicationFacade: => ApplicationFacade): UUID
Parses a raw
Authorizationheader value and performs the appropriate login, supportingBasic(base64-encodedusername:password) andBearer(access token) schemes.Parses a raw
Authorizationheader value and performs the appropriate login, supportingBasic(base64-encodedusername:password) andBearer(access token) schemes.- authorizationHeader
The full value of the
Authorizationheader.- applicationFacade
The facade used to execute the login.
- returns
A session token UUID on successful authentication.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def notifyOperations(message: EmailMessage, applicationFacade: ApplicationFacade, logger: LoggingLike, environment: String): Unit
- val reservedEnvironmentIds: Set[String]
The collection of reserved environment ids.
- val rootUserId: String
The unique id of the root user.
The unique id of the root user. The value is 'admin'
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val windowsServiceName: String
The constant service name of a WindowsFacade implementation.
The constant service name of a WindowsFacade implementation. The value is 'windows-service'.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)