当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
AuthenticationInterceptor (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档
org.jboss.aspects.security
Class AuthenticationInterceptor
java.lang.Object
org.jboss.aspects.security.AuthenticationInterceptor
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor
- public class AuthenticationInterceptor
- extends Object
- implements org.jboss.aop.advice.Interceptor
The AuthenticationInterceptor authenticates the caller.
- Version:
- $Revision: 1.4.2.1.2.1 $
- Author:
- Bill Burke, Oleg Nitz, Scott Stark., Dain Sundstrom.
Field Summary |
protected org.jboss.security.AuthenticationManager |
authenticationManager
|
protected org.jboss.logging.Logger |
log
|
Method Summary |
String |
getName()
|
Object |
invoke(org.jboss.aop.joinpoint.Invocation invocation)
Authenticates the caller using the principal and credentials in the
Infocation if thre is a security manager and an invcocation method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.jboss.logging.Logger log
authenticationManager
protected org.jboss.security.AuthenticationManager authenticationManager
AuthenticationInterceptor
public AuthenticationInterceptor(org.jboss.security.AuthenticationManager manager)
getName
public String getName()
- Specified by:
getName
in interface org.jboss.aop.advice.Interceptor
invoke
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws Throwable
- Authenticates the caller using the principal and credentials in the
Infocation if thre is a security manager and an invcocation method.
- Specified by:
invoke
in interface org.jboss.aop.advice.Interceptor
- Throws:
Throwable
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.