org.apache.geronimo.security.jacc
Class ApplicationPolicyConfigurationManager

java.lang.Object
  extended by org.apache.geronimo.security.jacc.ApplicationPolicyConfigurationManager
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle, RunAsSource

public class ApplicationPolicyConfigurationManager
extends Object
implements org.apache.geronimo.gbean.GBeanLifecycle, RunAsSource


Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Fields inherited from interface org.apache.geronimo.security.jacc.RunAsSource
NULL
 
Constructor Summary
ApplicationPolicyConfigurationManager(Map<String,ComponentPermissions> contextIdToPermissionsMap, SubjectInfo defaultSubjectInfo, Map<String,SubjectInfo> roleDesignates, ClassLoader cl, CredentialStore credentialStore, PrincipalRoleMapper principalRoleMapper)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 Subject getDefaultSubject()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 Subject getSubjectForRole(String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

ApplicationPolicyConfigurationManager

public ApplicationPolicyConfigurationManager(Map<String,ComponentPermissions> contextIdToPermissionsMap,
                                             SubjectInfo defaultSubjectInfo,
                                             Map<String,SubjectInfo> roleDesignates,
                                             ClassLoader cl,
                                             CredentialStore credentialStore,
                                             PrincipalRoleMapper principalRoleMapper)
                                      throws PolicyContextException,
                                             ClassNotFoundException,
                                             LoginException
Throws:
PolicyContextException
ClassNotFoundException
LoginException
Method Detail

getDefaultSubject

public Subject getDefaultSubject()
Specified by:
getDefaultSubject in interface RunAsSource

getSubjectForRole

public Subject getSubjectForRole(String role)
Specified by:
getSubjectForRole in interface RunAsSource

doStart

public void doStart()
             throws Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doStop

public void doStop()
            throws Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
Exception

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.