c

authorization

AuthAPIService

class AuthAPIService extends AuthApi

******************************************************************************** Copyright (c) 2015 Aalto University. * * Licensed under the 4-clause BSD (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at top most directory of project. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ********************************************************************************

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuthAPIService
  2. AuthApi
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AuthAPIService(useHTTPS: Boolean, authServicePort: Int)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from AuthAPIService to any2stringadd[AuthAPIService] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AuthAPIService, B)
    Implicit
    This member is added by an implicit conversion from AuthAPIService to ArrowAssoc[AuthAPIService] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def ensuring(cond: (AuthAPIService) ⇒ Boolean, msg: ⇒ Any): AuthAPIService
    Implicit
    This member is added by an implicit conversion from AuthAPIService to Ensuring[AuthAPIService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (AuthAPIService) ⇒ Boolean): AuthAPIService
    Implicit
    This member is added by an implicit conversion from AuthAPIService to Ensuring[AuthAPIService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): AuthAPIService
    Implicit
    This member is added by an implicit conversion from AuthAPIService to Ensuring[AuthAPIService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): AuthAPIService
    Implicit
    This member is added by an implicit conversion from AuthAPIService to Ensuring[AuthAPIService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AuthAPIService to StringFormat[AuthAPIService] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. def getAvailablePaths(subjectInfo: String, isCertificate: Boolean): ArrayList[Path]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def isAuthorizedForRawRequest(httpRequest: HttpRequest, omiRequestXml: String): AuthorizationResult

    This is used if the parser is wanted to be skipped, e.g.

    This is used if the parser is wanted to be skipped, e.g. for forwarding to the original request to some authentication/authorization service.

    httpRequest

    http headers and other data as they were received to O-MI Node.

    omiRequestXml

    contains the original request as received by the server.

    Definition Classes
    AuthApi
  20. def isAuthorizedForRequest(httpRequest: HttpRequest, omiRequest: OmiRequest): AuthorizationResult

    This can be overridden or isAuthorizedForType can be overridden instead.

    This can be overridden or isAuthorizedForType can be overridden instead. Has scala default implementation for calling isAuthorizedForType function correctly.

    httpRequest

    http headers and other data as they were received to O-MI Node.

    Definition Classes
    AuthApi
  21. def isAuthorizedForType(httpRequest: HttpRequest, isWrite: Boolean, paths: Iterable[Path]): AuthorizationResult

    This can be overridden or isAuthorizedForType can be overridden instead.

    This can be overridden or isAuthorizedForType can be overridden instead.

    httpRequest

    http headers and other data as they were received to O-MI Node.

    isWrite

    True if the request requires write permissions, false if it's read only.

    paths

    O-DF paths to all of the requested or to be written InfoItems.

    Definition Classes
    AuthAPIServiceAuthApi
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def sendPermissionRequest(isWrite: Boolean, body: String, subjectInfo: String, isCertificate: Boolean): AuthorizationResult
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. def [B](y: B): (AuthAPIService, B)
    Implicit
    This member is added by an implicit conversion from AuthAPIService to ArrowAssoc[AuthAPIService] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AuthApi

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AuthAPIService to any2stringadd[AuthAPIService]

Inherited by implicit conversion StringFormat from AuthAPIService to StringFormat[AuthAPIService]

Inherited by implicit conversion Ensuring from AuthAPIService to Ensuring[AuthAPIService]

Inherited by implicit conversion ArrowAssoc from AuthAPIService to ArrowAssoc[AuthAPIService]

Ungrouped