Package usecase.auth
Class AuthenticationRequiredInterceptor
- java.lang.Object
-
- usecase.auth.AuthenticationRequiredInterceptor
-
@Interceptor @AuthenticationRequired @Priority(2001) public class AuthenticationRequiredInterceptor extends Object
Classe interceptor per confermare l'autenticazione
-
-
Constructor Summary
Constructors Constructor Description AuthenticationRequiredInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
checkAdmin(InvocationContext invocationContext)
Verifica l'autenticazione
-
-
-
Constructor Detail
-
AuthenticationRequiredInterceptor
public AuthenticationRequiredInterceptor()
-
-
Method Detail
-
checkAdmin
public Object checkAdmin(InvocationContext invocationContext) throws Exception
Verifica l'autenticazione- Parameters:
invocationContext
-- Returns:
- Oggetto che conferma la possibilità di procedere.
- Throws:
AuthenticationRequiredException
Exception
-
-