|
||||||||||
| 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 SecurityInterceptor.AuthenticationObserver |
authenticationObserver
|
protected Method |
ejbTimeout
|
protected org.jboss.security.RealmMapping |
realmMapping
The authorization manager plugin |
protected org.jboss.security.RunAsIdentity |
runAsIdentity
|
protected org.jboss.security.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 org.jboss.security.AuthenticationManager securityManager
protected org.jboss.security.RealmMapping realmMapping
protected org.jboss.security.RunAsIdentity runAsIdentity
protected Map securityRoles
protected SecurityInterceptor.AuthenticationObserver authenticationObserver
protected Method ejbTimeout
| Constructor Detail |
|---|
public SecurityInterceptor()
| Method Detail |
|---|
public void setContainer(Container container)
setContainer in interface ContainerPluginsetContainer in class AbstractInterceptorcontainer - 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 org.jboss.system.Servicestart in class AbstractInterceptorException
public Object invokeHome(Invocation mi)
throws Exception
Interceptor
invokeHome in interface InterceptorinvokeHome in class AbstractInterceptormi - ???
Exception - ???
public Object invoke(Invocation mi)
throws Exception
Interceptor
invoke in interface Interceptorinvoke in class AbstractInterceptormi - ???
Exception - ???
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||