acom-digital.d0.acom.cloud Open in urlscan Pro
157.245.37.0  Public Scan

URL: https://acom-digital.d0.acom.cloud/
Submission: On October 05 via api from US — Scanned from GB

Form analysis 0 forms found in the DOM

Text Content

 * Our work
 * About us
 * Contacts

DesignTechnology


ROCK-IT CONSULTING — IT-CLIMBERS FROM STUTTGART...

DesignTechnology
DesignTechnology


THE S’BOTTLE — AN INNOVATIVE STAINLESS STEEL BOTTLE...

DesignTechnology
DesignTechnology


PAKALOOPA APP — HELPS PARENTS REMEMBER ALL THE FUNNY THINGS...

DesignTechnology
DesignTechnology


THE HAPPY MAPS — PERSONALISED MAP ART PRINT OF YOUR SPECIAL DAY...

DesignTechnology
DesignTechnology


THE HTTPSMOVE SERVICE — LANDING PAGE OF THE GOOGLE FRIENDLY MOVE SERVICE...

DesignTechnology
DesignTechnology


SKYSMILE.CH — HEALTHY, BRIGHT WHITE TEETH AT AN UNBEATABLE PRICE!...

DesignTechnology
DesignTechnology


YULIA MAGDYCH — UKRAINIAN DESIGNER WHO COMBINES UKRAINIAN TRADITIONS AND
MODERNITY...

DesignTechnology


OUR WORK

@Slf4j @Component public class AuthHandlerInterceptorAdapter extends
HandlerInterceptorAdapter {       public static final String TOKEN_PREFIX =
"Bearer ";       private final JwtAuthenticator jwtAuthenticator;  
    @Autowired     public AuthHandlerInterceptorAdapter(JwtAuthenticator
jwtAuthenticator) {         this.jwtAuthenticator = jwtAuthenticator;     }  
    @Override     public boolean preHandle(HttpServletRequest request,
HttpServletResponse response, Object handler) {         if (handler instanceof
HandlerMethod) {             var rq = HttpPreHandler.wrapRequest(request);
            var rs = HttpPreHandler.wrapResponse(response);
            HandlerMethod handlerMethod = (HandlerMethod) handler;
            AuthRequired methodAuthRequired =
handlerMethod.getMethodAnnotation(AuthRequired.class);             AuthRequired
classAuthRequired =
handlerMethod.getMethod().getDeclaringClass().getAnnotation(AuthRequired.class);
              if (methodAuthRequired != null || classAuthRequired != null) {
                try {                     if (rq.getHeader(AUTHORIZATION) !=
null &&
                            rq.getHeader(AUTHORIZATION).contains(TOKEN_PREFIX))
{                         String header = rq.getHeader(AUTHORIZATION);
                        var token = header.replace(TOKEN_PREFIX, "");
                        return jwtAuthenticator.authenticate(token);
                    }                     rs.sendError(401, "Auth header doesn't
exist!");                     return false;                 } catch (Exception
e) {                     log.error("Failed authorization try", e);
                }             } else {                 return true;
            }         }         return true;     } }

We use the power of design and technology to create transformational change.