Search in sources :

Example 1 with ParConfig

use of org.keycloak.models.ParConfig in project keycloak by keycloak.

the class RepresentationToModel method updateParSettings.

private static void updateParSettings(RealmRepresentation rep, RealmModel realm) {
    Map<String, String> newAttributes = rep.getAttributesOrEmpty();
    ParConfig parPolicy = realm.getParPolicy();
    parPolicy.setRequestUriLifespan(newAttributes.get(ParConfig.PAR_REQUEST_URI_LIFESPAN));
}
Also used : ArtifactBindingUtils.computeArtifactBindingIdentifierString(org.keycloak.protocol.saml.util.ArtifactBindingUtils.computeArtifactBindingIdentifierString) ParConfig(org.keycloak.models.ParConfig)

Aggregations

ParConfig (org.keycloak.models.ParConfig)1 ArtifactBindingUtils.computeArtifactBindingIdentifierString (org.keycloak.protocol.saml.util.ArtifactBindingUtils.computeArtifactBindingIdentifierString)1