Package org.alfresco.repo.remote
Class ReauthenticatingAdvice
java.lang.Object
org.alfresco.repo.remote.ReauthenticatingAdvice
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public class ReauthenticatingAdvice
extends Object
implements org.aopalliance.intercept.MethodInterceptor
This is an interceptor that continuosly tries to reauthenticate when
a method call results in an AuthenticationException.
- Author:
- britt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(org.aopalliance.intercept.MethodInvocation mi) voidSetter.voidsetClientTicketHolder(ClientTicketHolder ticketHolder) Setter.voidsetPassword(String password) Setter.voidsetRetryInterval(long retryInterval) Setter.voidSetter.
-
Constructor Details
-
ReauthenticatingAdvice
public ReauthenticatingAdvice()Default constructor.
-
-
Method Details
-
setAuthenticationService
Setter. -
setClientTicketHolder
Setter. -
setUser
Setter. -
setPassword
Setter. -
setRetryInterval
public void setRetryInterval(long retryInterval) Setter. -
invoke
- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
Throwable
-