Class/Object

spark.jobserver.auth

LdapGroupRealm

Related Docs: object LdapGroupRealm | package auth

Permalink

class LdapGroupRealm extends JndiLdapRealm

LDAP realm implementation that retrieves group information from LDAP and matches the 'member' attribute values of each group against the given user.

Note

not all LDAP installations use the member property.... we might have to add memberOf matches as well and others

Linear Supertypes
JndiLdapRealm, AuthorizingRealm, RolePermissionResolverAware, PermissionResolverAware, Authorizer, AuthenticatingRealm, Initializable, CachingRealm, LogoutAware, CacheManagerAware, Nameable, Realm, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LdapGroupRealm
  2. JndiLdapRealm
  3. AuthorizingRealm
  4. RolePermissionResolverAware
  5. PermissionResolverAware
  6. Authorizer
  7. AuthenticatingRealm
  8. Initializable
  9. CachingRealm
  10. LogoutAware
  11. CacheManagerAware
  12. Nameable
  13. Realm
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LdapGroupRealm()

    Permalink

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. def afterCacheManagerSet(): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm → AuthenticatingRealm → CachingRealm
  5. lazy val allowedGroups: Option[Array[String]]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def assertCredentialsMatch(arg0: AuthenticationToken, arg1: AuthenticationInfo): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthenticatingRealm
    Annotations
    @throws( ... )
  8. def checkPermission(arg0: Permission, arg1: AuthorizationInfo): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  9. def checkPermission(arg0: PrincipalCollection, arg1: Permission): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
    Annotations
    @throws( ... )
  10. def checkPermission(arg0: PrincipalCollection, arg1: String): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
    Annotations
    @throws( ... )
  11. def checkPermissions(arg0: Collection[Permission], arg1: AuthorizationInfo): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  12. def checkPermissions(arg0: PrincipalCollection, arg1: Collection[Permission]): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
    Annotations
    @throws( ... )
  13. def checkPermissions(arg0: PrincipalCollection, arg1: <repeated...>[String]): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
    Annotations
    @throws( ... )
  14. def checkRole(arg0: String, arg1: AuthorizationInfo): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  15. def checkRole(arg0: PrincipalCollection, arg1: String): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
    Annotations
    @throws( ... )
  16. def checkRoles(arg0: Collection[String], arg1: AuthorizationInfo): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  17. def checkRoles(arg0: PrincipalCollection, arg1: <repeated...>[String]): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
    Annotations
    @throws( ... )
  18. def checkRoles(arg0: PrincipalCollection, arg1: Collection[String]): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
    Annotations
    @throws( ... )
  19. def clearCache(arg0: PrincipalCollection): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    CachingRealm
  20. def clearCachedAuthenticationInfo(arg0: PrincipalCollection): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthenticatingRealm
  21. def clearCachedAuthorizationInfo(arg0: PrincipalCollection): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def createAuthenticationInfo(arg0: AuthenticationToken, arg1: Any, arg2: Any, arg3: LdapContext): AuthenticationInfo

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm
    Annotations
    @throws( ... )
  24. def doClearCache(arg0: PrincipalCollection): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm → AuthenticatingRealm → CachingRealm
  25. def doGetAuthenticationInfo(arg0: AuthenticationToken): AuthenticationInfo

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm → AuthenticatingRealm
    Annotations
    @throws( ... )
  26. def doGetAuthorizationInfo(arg0: PrincipalCollection): AuthorizationInfo

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm → AuthorizingRealm
  27. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. def getAuthenticationCache(): Cache[AnyRef, AuthenticationInfo]

    Permalink
    Definition Classes
    AuthenticatingRealm
  31. def getAuthenticationCacheKey(arg0: PrincipalCollection): AnyRef

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthenticatingRealm
  32. def getAuthenticationCacheKey(arg0: AuthenticationToken): AnyRef

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthenticatingRealm
  33. def getAuthenticationCacheName(): String

    Permalink
    Definition Classes
    AuthenticatingRealm
  34. final def getAuthenticationInfo(arg0: AuthenticationToken): AuthenticationInfo

    Permalink
    Definition Classes
    AuthenticatingRealm → Realm
    Annotations
    @throws( ... )
  35. def getAuthenticationTokenClass(): Class[_]

    Permalink
    Definition Classes
    AuthenticatingRealm
  36. def getAuthorizationCache(): Cache[AnyRef, AuthorizationInfo]

    Permalink
    Definition Classes
    AuthorizingRealm
  37. def getAuthorizationCacheKey(arg0: PrincipalCollection): AnyRef

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  38. def getAuthorizationCacheName(): String

    Permalink
    Definition Classes
    AuthorizingRealm
  39. def getAuthorizationInfo(arg0: PrincipalCollection): AuthorizationInfo

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  40. def getAvailablePrincipal(arg0: PrincipalCollection): AnyRef

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    CachingRealm
  41. def getCacheManager(): CacheManager

    Permalink
    Definition Classes
    CachingRealm
  42. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  43. def getContextFactory(): LdapContextFactory

    Permalink
    Definition Classes
    JndiLdapRealm
  44. def getCredentialsMatcher(): CredentialsMatcher

    Permalink
    Definition Classes
    AuthenticatingRealm
  45. def getLdapPrincipal(arg0: AuthenticationToken): AnyRef

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm
  46. def getName(): String

    Permalink
    Definition Classes
    CachingRealm → Realm
  47. def getPermissionResolver(): PermissionResolver

    Permalink
    Definition Classes
    AuthorizingRealm
  48. def getPermissions(arg0: AuthorizationInfo): Collection[Permission]

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  49. def getRoleNamesForUser(ldapContext: LdapContext, username: String): Set[String]

    Permalink
  50. def getRolePermissionResolver(): RolePermissionResolver

    Permalink
    Definition Classes
    AuthorizingRealm
  51. def getUserDn(arg0: String): String

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm
    Annotations
    @throws( ... ) @throws( ... )
  52. def getUserDnPrefix(): String

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm
  53. def getUserDnSuffix(): String

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm
  54. def getUserDnTemplate(): String

    Permalink
    Definition Classes
    JndiLdapRealm
  55. def hasAllRoles(arg0: PrincipalCollection, arg1: Collection[String]): Boolean

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  56. def hasRole(arg0: String, arg1: AuthorizationInfo): Boolean

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  57. def hasRole(arg0: PrincipalCollection, arg1: String): Boolean

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  58. def hasRoles(arg0: List[String], arg1: AuthorizationInfo): Array[Boolean]

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  59. def hasRoles(arg0: PrincipalCollection, arg1: List[String]): Array[Boolean]

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  60. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  61. final def init(): Unit

    Permalink
    Definition Classes
    AuthenticatingRealm → Initializable
  62. def isAuthenticationCachingEnabled(arg0: AuthenticationToken, arg1: AuthenticationInfo): Boolean

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthenticatingRealm
  63. def isAuthenticationCachingEnabled(): Boolean

    Permalink
    Definition Classes
    AuthenticatingRealm
  64. def isAuthorizationCachingEnabled(): Boolean

    Permalink
    Definition Classes
    AuthorizingRealm
  65. def isCachingEnabled(): Boolean

    Permalink
    Definition Classes
    CachingRealm
  66. def isInAllowedGroupOrNoCheckOnGroups(roles: Set[String]): Boolean

    Permalink
  67. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  68. def isPermitted(arg0: List[Permission], arg1: AuthorizationInfo): Array[Boolean]

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  69. def isPermitted(arg0: PrincipalCollection, arg1: List[Permission]): Array[Boolean]

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  70. def isPermitted(arg0: PrincipalCollection, arg1: <repeated...>[String]): Array[Boolean]

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  71. def isPermitted(arg0: Permission, arg1: AuthorizationInfo): Boolean

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  72. def isPermitted(arg0: PrincipalCollection, arg1: Permission): Boolean

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  73. def isPermitted(arg0: PrincipalCollection, arg1: String): Boolean

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  74. def isPermittedAll(arg0: Collection[Permission], arg1: AuthorizationInfo): Boolean

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm
  75. def isPermittedAll(arg0: PrincipalCollection, arg1: Collection[Permission]): Boolean

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  76. def isPermittedAll(arg0: PrincipalCollection, arg1: <repeated...>[String]): Boolean

    Permalink
    Definition Classes
    AuthorizingRealm → Authorizer
  77. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  80. def onInit(): Unit

    Permalink
    Attributes
    protected[org.apache.shiro.realm]
    Definition Classes
    AuthorizingRealm → AuthenticatingRealm
  81. def onLogout(arg0: PrincipalCollection): Unit

    Permalink
    Definition Classes
    CachingRealm → LogoutAware
  82. def queryForAuthenticationInfo(arg0: AuthenticationToken, arg1: LdapContextFactory): AuthenticationInfo

    Permalink
    Attributes
    protected[org.apache.shiro.realm.ldap]
    Definition Classes
    JndiLdapRealm
    Annotations
    @throws( ... )
  83. def queryForAuthorizationInfo(ldapContext: LdapContext, username: String): AuthorizationInfo

    Permalink
  84. def queryForAuthorizationInfo(principals: PrincipalCollection, ldapContextFactory: LdapContextFactory): AuthorizationInfo

    Permalink
    Definition Classes
    LdapGroupRealm → JndiLdapRealm
  85. def retrieveGroups(ldapContext: LdapContext): Map[String, Set[String]]

    Permalink
  86. lazy val searchBase: String

    Permalink
  87. def setAuthenticationCache(arg0: Cache[AnyRef, AuthenticationInfo]): Unit

    Permalink
    Definition Classes
    AuthenticatingRealm
  88. def setAuthenticationCacheName(arg0: String): Unit

    Permalink
    Definition Classes
    AuthenticatingRealm
  89. def setAuthenticationCachingEnabled(arg0: Boolean): Unit

    Permalink
    Definition Classes
    AuthenticatingRealm
  90. def setAuthenticationTokenClass(arg0: Class[_ <: AuthenticationToken]): Unit

    Permalink
    Definition Classes
    AuthenticatingRealm
  91. def setAuthorizationCache(arg0: Cache[AnyRef, AuthorizationInfo]): Unit

    Permalink
    Definition Classes
    AuthorizingRealm
  92. def setAuthorizationCacheName(arg0: String): Unit

    Permalink
    Definition Classes
    AuthorizingRealm
  93. def setAuthorizationCachingEnabled(arg0: Boolean): Unit

    Permalink
    Definition Classes
    AuthorizingRealm
  94. def setCacheManager(arg0: CacheManager): Unit

    Permalink
    Definition Classes
    CachingRealm → CacheManagerAware
  95. def setCachingEnabled(arg0: Boolean): Unit

    Permalink
    Definition Classes
    CachingRealm
  96. def setContextFactory(arg0: LdapContextFactory): Unit

    Permalink
    Definition Classes
    JndiLdapRealm
  97. def setCredentialsMatcher(arg0: CredentialsMatcher): Unit

    Permalink
    Definition Classes
    AuthenticatingRealm
  98. def setName(arg0: String): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → AuthenticatingRealm → CachingRealm → Nameable
  99. def setPermissionResolver(arg0: PermissionResolver): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → PermissionResolverAware
  100. def setRolePermissionResolver(arg0: RolePermissionResolver): Unit

    Permalink
    Definition Classes
    AuthorizingRealm → RolePermissionResolverAware
  101. def setUserDnTemplate(arg0: String): Unit

    Permalink
    Definition Classes
    JndiLdapRealm
    Annotations
    @throws( ... )
  102. def supports(arg0: AuthenticationToken): Boolean

    Permalink
    Definition Classes
    AuthenticatingRealm → Realm
  103. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from JndiLdapRealm

Inherited from AuthorizingRealm

Inherited from RolePermissionResolverAware

Inherited from PermissionResolverAware

Inherited from Authorizer

Inherited from AuthenticatingRealm

Inherited from Initializable

Inherited from CachingRealm

Inherited from LogoutAware

Inherited from CacheManagerAware

Inherited from Nameable

Inherited from Realm

Inherited from AnyRef

Inherited from Any

Ungrouped