Class AuthserviceDbRealm

  • All Implemented Interfaces:
    org.apache.shiro.authc.LogoutAware, org.apache.shiro.authz.Authorizer, org.apache.shiro.authz.permission.PermissionResolverAware, org.apache.shiro.authz.permission.RolePermissionResolverAware, org.apache.shiro.cache.CacheManagerAware, org.apache.shiro.realm.Realm, org.apache.shiro.util.Initializable, org.apache.shiro.util.Nameable

    public class AuthserviceDbRealm
    extends org.apache.shiro.realm.jdbc.JdbcRealm
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.shiro.realm.jdbc.JdbcRealm

        org.apache.shiro.realm.jdbc.JdbcRealm.SaltStyle
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) org.osgi.service.log.LogService logservice  
      • Fields inherited from class org.apache.shiro.realm.jdbc.JdbcRealm

        authenticationQuery, dataSource, DEFAULT_AUTHENTICATION_QUERY, DEFAULT_PERMISSIONS_QUERY, DEFAULT_SALTED_AUTHENTICATION_QUERY, DEFAULT_USER_ROLES_QUERY, permissionsLookupEnabled, permissionsQuery, saltIsBase64Encoded, saltStyle, userRolesQuery
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()  
      void setDataSource​(DataSource datasource)  
      void setLogservice​(org.osgi.service.log.LogService logservice)  
      • Methods inherited from class org.apache.shiro.realm.jdbc.JdbcRealm

        doGetAuthenticationInfo, doGetAuthorizationInfo, getPermissions, getRoleNamesForUser, getSaltForUser, setAuthenticationQuery, setPermissionsLookupEnabled, setPermissionsQuery, setSaltIsBase64Encoded, setSaltStyle, setUserRolesQuery
      • Methods inherited from class org.apache.shiro.realm.AuthorizingRealm

        afterCacheManagerSet, checkPermission, checkPermission, checkPermission, checkPermissions, checkPermissions, checkPermissions, checkRole, checkRole, checkRoles, checkRoles, checkRoles, clearCachedAuthorizationInfo, doClearCache, getAuthorizationCache, getAuthorizationCacheKey, getAuthorizationCacheName, getAuthorizationInfo, getPermissionResolver, getPermissions, getRolePermissionResolver, hasAllRoles, hasRole, hasRole, hasRoles, hasRoles, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, isPermittedAll, onInit, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolver
      • Methods inherited from class org.apache.shiro.realm.AuthenticatingRealm

        assertCredentialsMatch, clearCachedAuthenticationInfo, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, supports
      • Methods inherited from class org.apache.shiro.realm.CachingRealm

        clearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabled
      • Methods inherited from interface org.apache.shiro.util.Initializable

        init
    • Field Detail

      • logservice

        org.osgi.service.log.LogService logservice
    • Constructor Detail

      • AuthserviceDbRealm

        public AuthserviceDbRealm()
    • Method Detail

      • setLogservice

        public void setLogservice​(org.osgi.service.log.LogService logservice)
      • setDataSource

        public void setDataSource​(DataSource datasource)
        Overrides:
        setDataSource in class org.apache.shiro.realm.jdbc.JdbcRealm
      • activate

        public void activate()