This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"authenticationFilter": { | |
"supportHTTPBasicAuthentication": true, | |
"supportAltAuthentication": true, | |
"altAuthenticationUsernameHeader": "X-SCIM-Username", | |
"altAuthenticationPasswordHeader": "X-SCIM-Password", | |
"searchBaseDN": "dc=openam,dc=forgerock,dc=org", | |
"searchScope": "one", | |
"searchFilterTemplate": "(&(uid=%s)(objectClass=inetOrgPerson))" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from base64 import urlsafe_b64decode | |
import hmac | |
from hashlib import sha256 | |
import rsa | |
from rsa.transform import bytes2int, int2bytes | |
import pyaes | |
# RSA Key described in A.2.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module_name=$(patsubst mod_%,%,$(shared:%.la=%)) | |
ifneq ($(wildcard /etc/debian_version),) | |
# Debian/Ubuntu | |
top_srcdir=/usr/share/apache2 | |
top_builddir=/usr/share/apache2 | |
include /usr/share/apache2/build/special.mk | |
loader_file=/etc/apache2/mods-available/$(module_name).load | |
loader_lines=LoadModule $(module_name)_module $(libexecdir)/mod_$(module_name).so | |
else ifneq ($(wildcard /etc/redhat-release),) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from base64 import urlsafe_b64decode | |
from Crypto.PublicKey import RSA | |
from Crypto.Cipher import PKCS1_v1_5 | |
from Crypto.Cipher import AES | |
from Crypto.Hash import HMAC | |
from Crypto.Hash import SHA256 | |
from Crypto.Util.number import long_to_bytes, bytes_to_long | |