trait ServicePrincipal extends Principal
A service principal.
A service principal may either represent a service identity, or it may be a principal that a service made a request on behalf of.
- Source
- ServicePrincipal.scala
- Alphabetic
- By Inheritance
- ServicePrincipal
- Principal
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
getName(): String
- Definition Classes
- Principal
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to any2stringadd[ServicePrincipal] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ServicePrincipal, B)
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to ArrowAssoc[ServicePrincipal] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
authenticated: Boolean
Whether the service was authenticated.
Whether the service was authenticated.
Some service identity strategies simply pull the service name from a header, which can be trivially spoofed. This can be used to distinguish whether the service identity has been established by an insecure means such as that, or a secure means such as client certificates, signed tokens or shared secrets.
- returns
True if the service identity was established by some secure means.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
ensuring(cond: (ServicePrincipal) ⇒ Boolean, msg: ⇒ Any): ServicePrincipal
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to Ensuring[ServicePrincipal] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ServicePrincipal) ⇒ Boolean): ServicePrincipal
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to Ensuring[ServicePrincipal] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ServicePrincipal
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to Ensuring[ServicePrincipal] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ServicePrincipal
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to Ensuring[ServicePrincipal] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to StringFormat[ServicePrincipal] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
implies(arg0: Subject): Boolean
- Definition Classes
- Principal
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
serviceName: String
The service name.
The service name.
This may or may not be the same as #getName, depending on whether the principal represents the service itself, or simply a request made by the service on behalf of another principal.
- returns
The server name.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
→[B](y: B): (ServicePrincipal, B)
- Implicit
- This member is added by an implicit conversion from ServicePrincipal to ArrowAssoc[ServicePrincipal] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc