jboss-tools

Reverse proxy configuration for keycloak (Nginx)

倾然丶 夕夏残阳落幕 提交于 2019-12-01 21:29:21
I have a spring boot application (with keycloak adapter) running on port 8000 and keycloak running on 8080 I have edited my /etc/hosts file to route requests coming on my test-domain (foo.bar.com) to route to 127.0.0.1 I am not interested in SSL as of now. My sample nginx configuration: server { listen 80; server_name foo.bar.com; location /myapp { proxy_set_header Host $host/myapp; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded

Adding JBoss AS 7 modules on Eclipse using Maven or JBoss Tools

牧云@^-^@ 提交于 2019-12-01 13:07:41
I'm migrating my project to JBoss AS 7, and I've read a little about its modules. My problem is simple (I think), I have no idea how to include this modules during development phase. For example, I use hibernate, and inside Eclipse, with JBoss Tools and JBoss AS 6, I just need to say that the project will use JBoss 7 and all their "jars" are available. But using JBoss 7, hibernate-core isn't available to me. I know I have an option to add the hibernate-core as "provided" on my pom, but there is another way? Take a look at these links: APIs: http://mvnrepository.com/artifact/org.jboss.as/jboss

How can I remove Eclipse Mars Jboss Tools Toolbar item

偶尔善良 提交于 2019-12-01 04:04:06
I have installed Eclipse Mars and have also installed the Jboss Tools from the eclipse marketplace. My issue is that after installing the JBoss tools, I seem to have a set of controls for the server in my menu bar, that have been created in the Early Learning Centre style. I've tried the Window > Perspective > Customize Perspective menu option, but still I am left with this awful menu. Does anyone know how to stop it from showing on my toolbar? Ok, After some more specific searching, I found the answer at this link: https://developer.jboss.org/thread/263510?start=0&tstart=0 specifically "To

Eclipse Kepler and JBoss Wildfly hot deployment

泄露秘密 提交于 2019-11-30 04:46:42
I am trying to use eclipse kepler for Java EE 7.I already installed JBoss Tools and added JBoss Wildfly successfully as a server. However my changes are not automatically deployed. Is there anyway the app can be deployed automatically just as when using glassfish? Using Eclipse, click twice on your WildFly Server to edit the following properties: Publishing : choose "Automatically publish after a build event". I like to change the publishing interval to 1 second too. Application Reload Behavior : check the "Customize application reload ..." checkbox and edit the regex pattern to \.jar$|\.class

Wildfly fails to deploy application (FileNotFoundException - Access is Denied)

爷,独闯天下 提交于 2019-11-29 09:28:27
Wildfly 8.2.0.Final JDK 8 Update 60 Eclipse Mars Update 1 JBoss Tools 4.3.0.Final Windows 10 Recently I upgraded the following things: from Windows 7 to Windows 10 from Eclipse Mars to Eclipse Mars Update 1 from JBoss Tools 4.3.0.Beta1 to JBoss Tools 4.3.0.Final and now when I try to deploy my application in Eclipse it doesn't work anymore (sometimes it works, but most of the time it doesn't work). Everything was working fine before the upgrades, but now I get this stack trace when I deploy the application (where you read "Acesso negado" below it means "Access is Denied" ): 13:18:12,452 SEVERE

Eclipse Kepler and JBoss Wildfly hot deployment

白昼怎懂夜的黑 提交于 2019-11-29 02:11:12
问题 I am trying to use eclipse kepler for Java EE 7.I already installed JBoss Tools and added JBoss Wildfly successfully as a server. However my changes are not automatically deployed. Is there anyway the app can be deployed automatically just as when using glassfish? 回答1: Using Eclipse, click twice on your WildFly Server to edit the following properties: Publishing : choose "Automatically publish after a build event". I like to change the publishing interval to 1 second too. Application Reload

Keycloak integration in Swagger

房东的猫 提交于 2019-11-28 19:08:47
I have a Keycloak protected backend that I would like to access via swagger-ui. Keycloak provides the oauth2 implicit and access code flow, but I was not able to make it work. Currently, Keycloak's documentation is lacking regarding which url should be used for authorizationUrl and tokenUrl within swagger.json . Each realm within Keycloak offers a huge list of configuration urls by accessing http://keycloak.local/auth/realms/REALM/.well-known/openid-configuration Furthermore I've tried to directly integrate the keycloak js-client within swagger-ui index.html by adding the following lines:

Keycloak integration in Swagger

时光怂恿深爱的人放手 提交于 2019-11-27 11:58:43
问题 I have a Keycloak protected backend that I would like to access via swagger-ui. Keycloak provides the oauth2 implicit and access code flow, but I was not able to make it work. Currently, Keycloak's documentation is lacking regarding which url should be used for authorizationUrl and tokenUrl within swagger.json . Each realm within Keycloak offers a huge list of configuration urls by accessing http://keycloak.local/auth/realms/REALM/.well-known/openid-configuration Furthermore I've tried to