Class

be.objectify.deadbolt.scala

StaticConstraintAnalyzer

Related Doc: package scala

Permalink

class StaticConstraintAnalyzer extends AnyRef

Static constraint analysis.

Annotations
@Singleton()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StaticConstraintAnalyzer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StaticConstraintAnalyzer(patternCache: PatternCache)

    Permalink
    Annotations
    @Inject()

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def checkPatternEquality(maybeSubject: Option[Subject], maybePatternValue: Option[String]): Boolean

    Permalink

    Check if any of the subject's permissions equals the supplied pattern value.

    Check if any of the subject's permissions equals the supplied pattern value.

    maybeSubject

    an option for the subject

    maybePatternValue

    an option for the equality pattern

    returns

    true iff the subject has permissions and at least one equals the pattern value

  6. def checkRegexPattern(maybeSubject: Option[Subject], maybePattern: Option[String]): Boolean

    Permalink

    Check if any of the subject's permissions match the supplied regular expression.

    Check if any of the subject's permissions match the supplied regular expression.

    maybeSubject

    an option for the subject

    maybePattern

    an option for the regular expression

    returns

    true iff the subject has permissions and at least one matches the regular expression

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getSubjectRoles(maybeSubject: Option[Subject]): Option[List[String]]

    Permalink

    Convert the subject's roles to a list of role names.

    Convert the subject's roles to a list of role names.

    maybeSubject

    an option for the subject

    returns

    None if the subject is None or the subject has no roles, otherwise Some list of strings in the same order as the roles

  13. def hasAllRoles(maybeSubject: Option[Subject], requiredRoleNames: RoleGroup): Boolean

    Permalink

    Check if the subject has several roles using AND.

    Check if the subject has several roles using AND.

    maybeSubject

    an option for the subject

    requiredRoleNames

    all the roles the subject must hold

    returns

    true iff the subject has all roles

  14. def hasRole(maybeSubject: Option[Subject], requiredRoleName: String): Boolean

    Permalink

    Check if the subject has a single role.

    Check if the subject has a single role.

    maybeSubject

    an option for the subject

    requiredRoleName

    the role name the subject is required to have

    returns

    true iff the subject has that role

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped