站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 aspects API Documentation 英文版文档

RunAsSecurityInterceptor (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档


org.jboss.aspects.security
Class RunAsSecurityInterceptor

java.lang.Object
  extended byorg.jboss.aspects.security.RunAsSecurityInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class RunAsSecurityInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor

An interceptor that enforces the run-as identity declared by a bean.

Version:
$Revision: 1.4.2.1 $
Author:
Scott Stark., Dain Sundstrom.

Constructor Summary
RunAsSecurityInterceptor()
           
 
Method Summary
protected  org.jboss.security.RunAsIdentity getAnnotationRunAsIdentity(org.jboss.aop.joinpoint.Invocation invocation)
           
 String getName()
           
protected  org.jboss.security.RunAsIdentity getRunAsIdentity(org.jboss.aop.joinpoint.Invocation invocation)
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunAsSecurityInterceptor

public RunAsSecurityInterceptor()
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

getRunAsIdentity

protected org.jboss.security.RunAsIdentity getRunAsIdentity(org.jboss.aop.joinpoint.Invocation invocation)

getAnnotationRunAsIdentity

protected org.jboss.security.RunAsIdentity getAnnotationRunAsIdentity(org.jboss.aop.joinpoint.Invocation invocation)

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.