org.hyperic.hq.authz.server.session
Class AuthzSession
java.lang.Object
org.hyperic.hq.authz.server.session.AuthzSession
- Direct Known Subclasses:
- AuthzSubjectManagerEJBImpl, PermissionManager, ResourceGroupManagerEJBImpl, ResourceManagerEJBImpl, RoleManagerEJBImpl
public abstract class AuthzSession
- extends java.lang.Object
This is the parent class for all Authz Session Beans
Field Summary |
protected javax.ejb.SessionContext |
ctx
|
static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.commons.logging.Log log
ctx
protected javax.ejb.SessionContext ctx
AuthzSession
public AuthzSession()
getResourceTypeDAO
protected ResourceTypeDAO getResourceTypeDAO()
getResourceDAO
protected ResourceDAO getResourceDAO()
getResourceGroupDAO
protected ResourceGroupDAO getResourceGroupDAO()
getSubjectDAO
protected org.hyperic.hq.authz.server.session.AuthzSubjectDAO getSubjectDAO()
getRoleDAO
protected RoleDAO getRoleDAO()
getOperationDAO
protected OperationDAO getOperationDAO()
getRootResourceType
protected ResourceType getRootResourceType()
findSubjectByAuth
public AuthzSubject findSubjectByAuth(java.lang.String name,
java.lang.String authDsn)
throws SubjectNotFoundException
- Find the subject that has the given name and authentication source.
- Parameters:
name
- Name of the subject.authDsn
- DSN of the authentication source. Authentication sources
are defined externally.
- Returns:
- The value-object of the subject of the given name and authenticating source.
- Throws:
SubjectNotFoundException
toPojos
protected java.util.Set toPojos(java.lang.Object[] vals)
lookupSubject
protected AuthzSubject lookupSubject(java.lang.Integer id)
getInitialContext
protected javax.naming.InitialContext getInitialContext()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
setSessionContext
public void setSessionContext(javax.ejb.SessionContext ctx)
getSessionContext
protected javax.ejb.SessionContext getSessionContext()
getContainmentRelation
public ResourceRelation getContainmentRelation()
getNetworkRelation
public ResourceRelation getNetworkRelation()
getVirtualRelation
public ResourceRelation getVirtualRelation()
findPrototype
protected Resource findPrototype(AppdefEntityTypeID id)
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.