I hereby claim:
- I am dacrome on github.
- I am dacrome (https://keybase.io/dacrome) on keybase.
- I have a public key whose fingerprint is 7A96 0E97 4464 5452 2B57 531D 0924 59FD 5F0D 73B2
To claim this, I am signing this object:
export NEW_GRADLE_VERSION=4.0 | |
# Yes 2 times to update all files | |
./gradlew wrapper --gradle-version $NEW_GRADLE_VERSION --distribution-type all | |
./gradlew wrapper --gradle-version $NEW_GRADLE_VERSION --distribution-type all | |
git commit -am "Update Gradle to version $NEW_GRADLE_VERSION" | |
git push HEAD:refs/heads/update-gradle-to-$NEW_GRADLE_VERSION |
import org.osiam.client.OsiamConnector; | |
import org.osiam.client.exception.OsiamRequestException; | |
import org.osiam.client.oauth.AccessToken; | |
import org.osiam.client.oauth.Scope; | |
import org.osiam.resources.scim.User; | |
import org.springframework.security.authentication.AuthenticationProvider; | |
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; | |
import org.springframework.security.core.Authentication; | |
import org.springframework.security.core.AuthenticationException; | |
import org.springframework.security.core.authority.SimpleGrantedAuthority; |
I hereby claim:
To claim this, I am signing this object:
# Home URL (needed for self reference) | |
org.osiam.home=http://localhost:8080/osiam | |
# | |
# Database configuration (PostgreSQL) | |
# | |
org.osiam.db.vendor=postgresql | |
org.osiam.db.driver=org.postgresql.Driver | |
org.osiam.db.url=jdbc:postgresql://localhost:5432/ong | |
org.osiam.db.username=ong |
public Client updateClient(String updateClientId, Client client, AccessToken accessToken) { | |
Client updatedClient = null; | |
try { | |
updatedClient = targetEndpoint.path(CLIENT_ENDPOINT).path(updateClientId) | |
.request(MediaType.APPLICATION_JSON) | |
.property(HttpAuthenticationFeature.HTTP_AUTHENTICATION_USERNAME, clientId) | |
.property(HttpAuthenticationFeature.HTTP_AUTHENTICATION_PASSWORD, clientSecret) | |
.property(ClientProperties.CONNECT_TIMEOUT, connectionTimeout) | |
.property(ClientProperties.READ_TIMEOUT, readTimeout) |
auth | |
.authenticationProvider(provider) | |
.ldapAuthentication() | |
.userDnPatterns(dnPatterns) | |
.groupSearchBase(groupSearchBase) | |
.contextSource().url(url); |
global | |
maxconn 2000 | |
user haproxy | |
group haproxy | |
listen tcp-in *:80 | |
timeout connect 3600s | |
timeout client 60m | |
timeout server 60m | |
mode tcp |
@Autowired | |
public void disableTemplateLocationCheck(ThymeleafProperties properties) { | |
properties.setCheckTemplateLocation(false); | |
} |
# ------------------------------- | |
# PostgreSQL recovery config file | |
# ------------------------------- | |
# | |
# Edit this file to provide the parameters that PostgreSQL needs to | |
# perform an archive recovery of a database, or to act as a replication | |
# standby. | |
# | |
# If "recovery.conf" is present in the PostgreSQL data directory, it is | |
# read on postmaster startup. After successful recovery, it is renamed |
original.org.osiam.html.form.fields=fieldName:required | |
original.org.osiam.html.form.fields=formattedName:true\ | |
,familyName:false\ | |
,givenName:true |