com.silverpeas.annotation.processing
Class AuthenticatedAnnotationProcessor

java.lang.Object
  extended by com.silverpeas.annotation.processing.AuthenticatedAnnotationProcessor

@Component
public class AuthenticatedAnnotationProcessor
extends Object

A processor working on the classes that are annoted with the @Authenticated annotation. As the annoted classes requires to be modified by adding to them some codes, the processor is actually an aspect.


Constructor Summary
AuthenticatedAnnotationProcessor()
           
 
Method Summary
 void methodAnnotatedWithDELETE()
           
 void methodAnnotatedWithGET()
           
 void methodAnnotatedWithPOST()
           
 void methodAnnotatedWithPUT()
           
 void validateTheAuthentication(RESTWebService service)
           
 void webServicesAnnotatedWithAuthenticated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatedAnnotationProcessor

public AuthenticatedAnnotationProcessor()
Method Detail

webServicesAnnotatedWithAuthenticated

public void webServicesAnnotatedWithAuthenticated()

methodAnnotatedWithGET

public void methodAnnotatedWithGET()

methodAnnotatedWithPOST

public void methodAnnotatedWithPOST()

methodAnnotatedWithDELETE

public void methodAnnotatedWithDELETE()

methodAnnotatedWithPUT

public void methodAnnotatedWithPUT()

validateTheAuthentication

public void validateTheAuthentication(RESTWebService service)
                               throws Throwable
Throws:
Throwable


Copyright © 2016 Silverpeas. All Rights Reserved.