Skip to content
Advertisement

Tag: jboss

Container based LDAP authentication with Jboss and Spring boot

I’ve a simple API that returns a string. My objective is to secure my API using LDAP authentication. I’ve my LDAP configured in my JBoss EAP 7.1 under the security-domain. I’ve defined my security constraint in the web.xml and the corresponding security-domain in my jboss-web.xml This is my first shot to integrate LDAP with REST API. Not sure what went

JMS Topic – Weblogic to Wildfly / JBoss migration

I have one of my Topics in WebLogic with overrides properties “Time-To Deliver Override” and “Delivery Mode Override” I’m working on a migration to WildFly server. I’ve declared the Topics in the standalone.xml under the ActiveMQ subsystem tag as following But, I have no idea on how can I configure the equivalent of “Time-To Deliver Override” and “Delivery Mode Override”

How to update standalone.xml offline in WildFly

As part of my project, I need to support legacy JAAS security domain to protect my EJBs. I am following the quickstart (https://github.com/wildfly/quickstart/tree/master/ejb-security-jaas) and updating the configuration using jboss-cli (https://github.com/wildfly/quickstart/blob/master/ejb-security-jaas/configure-elytron-jaas.cli). Everything is working fine with my POC. But, I am facing an issue when I am trying to apply this concept in production code. We wrap our production code along

UndeclaredThrowableException for custom Exceptions

I’m currently working on a project running a jboss backend server (server-ear:ear exploded artefact) and a java gui (java 11) as frontend. The backend contains a java service bean which accesses a database server and throws a custom exception (extends exceptions), if the variable is not found. The GUI catches the custom exceptions with a try and catch block. The

Error com.fasterxml.jackson Deploy .WAR Spring Boot in JBoss/Wildfly

ERROR [org.springframework.boot.web.servlet.support.ErrorPageFilter] (default task-22) Forwarding to error page from request [/api/method] due to exception [com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenient()Z]: java.lang.NoSuchMethodError: com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenient()Z at com.fasterxml.jackson.datatype.jsr310.deser.JSR310DateTimeDeserializerBase.createContextual(JSR310DateTimeDeserializerBase.java:104) at com.fasterxml.jackson.databind.DeserializationContext.handleSecondaryContextualization(DeserializationContext.java:685) at com.fasterxml.jackson.databind.DeserializationContext.findContextualValueDeserializer(DeserializationContext.java:446) Answer – Create file named jboss-deployment-structure.xml – Add the below block – Copy file in location WEB-INF/jboss-deployment-structure.xml IMG – Preview project Maven

How to set JBoss Wildfly context root with XML-less Spring web application?

Having a Spring application with Maven where all the configuration is done in Java (all configuration previously stored in web.xml is now in annotated @Configuration files or in WebAppInitializer that extends AbstractAnnotationConfigDispatcherServletInitializer), how can I set the context root for my application in JBoss Wildfly? The app has no web.xml, nor jboss-web.xml . When the app used XML configuration the

Advertisement