org.qi4j.library.shiro.realms
Class AbstractX509Qi4jRealm

java.lang.Object
  extended by org.apache.shiro.realm.CachingRealm
      extended by org.apache.shiro.realm.AuthenticatingRealm
          extended by org.apache.shiro.realm.AuthorizingRealm
              extended by org.qi4j.library.shiro.realms.AbstractQi4jRealm
                  extended by org.qi4j.library.shiro.realms.AbstractX509Qi4jRealm
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, RealmActivator

public abstract class AbstractX509Qi4jRealm
extends AbstractQi4jRealm


Field Summary
 
Fields inherited from class org.qi4j.library.shiro.realms.AbstractQi4jRealm
uowf
 
Constructor Summary
AbstractX509Qi4jRealm()
           
 
Method Summary
protected  org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
           
protected abstract  Set<X509Certificate> getGrantedIssuers(X509Certificate userCertificate)
           
protected  RoleAssignee getRoleAssignee(org.apache.shiro.subject.PrincipalCollection principals)
           
protected abstract  RoleAssignee getRoleAssignee(X509Certificate userCertificate)
           
 
Methods inherited from class org.qi4j.library.shiro.realms.AbstractQi4jRealm
activateRealm, doGetAuthorizationInfo
 
Methods inherited from class org.apache.shiro.realm.AuthorizingRealm
afterCacheManagerSet, checkPermission, checkPermission, checkPermission, checkPermissions, checkPermissions, checkPermissions, checkRole, checkRole, checkRoles, checkRoles, checkRoles, clearCachedAuthorizationInfo, getAuthorizationCache, getAuthorizationCacheKey, getAuthorizationCacheName, getAuthorizationInfo, getAvailablePrincipal, getPermissionResolver, getRolePermissionResolver, hasAllRoles, hasRole, hasRole, hasRoles, hasRoles, init, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, isPermittedAll, onInit, onLogout, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolver
 
Methods inherited from class org.apache.shiro.realm.AuthenticatingRealm
getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, setAuthenticationTokenClass, setCredentialsMatcher, supports
 
Methods inherited from class org.apache.shiro.realm.CachingRealm
getCacheManager, getName, isCachingEnabled, setCacheManager, setCachingEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractX509Qi4jRealm

public AbstractX509Qi4jRealm()
Method Detail

doGetAuthenticationInfo

protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
                                                                     throws org.apache.shiro.authc.AuthenticationException
Specified by:
doGetAuthenticationInfo in class org.apache.shiro.realm.AuthenticatingRealm
Throws:
org.apache.shiro.authc.AuthenticationException

getGrantedIssuers

protected abstract Set<X509Certificate> getGrantedIssuers(X509Certificate userCertificate)

getRoleAssignee

protected RoleAssignee getRoleAssignee(org.apache.shiro.subject.PrincipalCollection principals)
Specified by:
getRoleAssignee in class AbstractQi4jRealm

getRoleAssignee

protected abstract RoleAssignee getRoleAssignee(X509Certificate userCertificate)