|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.AbstractInterceptor
org.jboss.ejb.plugins.SecurityInterceptor
public class SecurityInterceptor
The SecurityInterceptor is where the EJB 2.0 declarative security model is enforced. This is where the caller identity propagation is controlled as well.
Nested Class Summary | |
---|---|
static interface |
SecurityInterceptor.AuthenticationObserver
The interface of an observer that should be notified when principal authentication fails. |
Field Summary | |
---|---|
protected String |
appSecurityDomain
Security Domain configured as part of the application |
protected SecurityInterceptor.AuthenticationObserver |
authenticationObserver
|
protected String |
defaultAuthorizationSecurityDomain
|
protected Map<String,Set<String>> |
deploymentRoles
|
protected CodeSource |
ejbCS
|
protected String |
ejbName
|
protected Method |
ejbTimeout
The TimedObject.ejbTimeout callback |
protected boolean |
isUseCallerIdentity
Specify whether |
protected RealmMapping |
realmMapping
The authorization manager plugin |
protected RunAs |
runAsIdentity
|
protected ISecurityManagement |
securityManagement
Represents the holder of the various security managers configured at the container level |
protected AuthenticationManager |
securityManager
The authentication manager plugin |
protected Map |
securityRoles
|
Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
---|
container, log, nextInterceptor |
Constructor Summary | |
---|---|
SecurityInterceptor()
|
Method Summary | |
---|---|
Object |
invoke(Invocation mi)
??? |
Object |
invokeHome(Invocation mi)
??? |
void |
setContainer(Container container)
Called by the super class to set the container to which this interceptor belongs. |
void |
start()
|
Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor |
---|
create, destroy, getContainer, getNext, isAppException, setNext, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AuthenticationManager securityManager
protected RealmMapping realmMapping
protected RunAs runAsIdentity
protected Map securityRoles
protected Map<String,Set<String>> deploymentRoles
protected SecurityInterceptor.AuthenticationObserver authenticationObserver
protected Method ejbTimeout
protected String ejbName
protected CodeSource ejbCS
protected String appSecurityDomain
protected String defaultAuthorizationSecurityDomain
protected boolean isUseCallerIdentity
protected ISecurityManagement securityManagement
Constructor Detail |
---|
public SecurityInterceptor()
Method Detail |
---|
public void setContainer(Container container)
setContainer
in interface ContainerPlugin
setContainer
in class AbstractInterceptor
container
- The container using this plugin. This may be null if the
plugin is being disassociated from a container.public void start() throws Exception
start
in interface Service
start
in class AbstractInterceptor
Exception
public Object invokeHome(Invocation mi) throws Exception
Interceptor
invokeHome
in interface Interceptor
invokeHome
in class AbstractInterceptor
mi
- ???
Exception
- ???public Object invoke(Invocation mi) throws Exception
Interceptor
invoke
in interface Interceptor
invoke
in class AbstractInterceptor
mi
- ???
Exception
- ???
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |