Skip to content

Instantly share code, notes, and snippets.

View ambroisehdn's full-sized avatar
💭
🙂

Ambroise ambroisehdn

💭
🙂
View GitHub Profile
@ambroisehdn
ambroisehdn / KeycloakAdminClientExample.java
Created May 9, 2023 22:47 — forked from thomasdarimont/KeycloakAdminClientExample.java
Using Keycloak Admin Client to create user with roles (Realm and Client level)
package demo.plain;
import org.keycloak.OAuth2Constants;
import org.keycloak.admin.client.CreatedResponseUtil;
import org.keycloak.admin.client.Keycloak;
import org.keycloak.admin.client.KeycloakBuilder;
import org.keycloak.admin.client.resource.RealmResource;
import org.keycloak.admin.client.resource.UserResource;
import org.keycloak.admin.client.resource.UsersResource;
import org.keycloak.representations.idm.ClientRepresentation;
@ambroisehdn
ambroisehdn / Contributing.md
Created June 29, 2022 10:46 — forked from MarcDiethelm/Contributing.md
How to contribute to a project on Github

This text now lives at https://github.com/MarcDiethelm/contributing/blob/master/README.md. I turned it into a Github repo so you can, you know, contribute to it by making pull requests.


Contributing

If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.

STEPS :

Start apache2

~ # apache2ctl start

. Set payload and create custom windows executable. Command: