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 Details

    • ReauthenticatingAdvice

      public ReauthenticatingAdvice()
      Default constructor.
  • Method Details

    • setAuthenticationService

      public void setAuthenticationService(AuthenticationService service)
      Setter.
    • setClientTicketHolder

      public void setClientTicketHolder(ClientTicketHolder ticketHolder)
      Setter.
    • setUser

      public void setUser(String user)
      Setter.
    • setPassword

      public void setPassword(String password)
      Setter.
    • setRetryInterval

      public void setRetryInterval(long retryInterval)
      Setter.
    • invoke

      public Object invoke(org.aopalliance.intercept.MethodInvocation mi) throws Throwable
      Specified by:
      invoke in interface org.aopalliance.intercept.MethodInterceptor
      Throws:
      Throwable