-
Osnovni preduvjet za korištenje Single Sign-On (SSO) autentikacije u Django projektu je instalacija i konfiguracija paketa djangosaml2 koja se može obaviti prateći detaljne upute na stranici https://bitbucket.org/lgs/djangosaml2
Referentne, testirane te u ovim uputama preporučene verzije potrebnih paketa su:
- xmlsec1 1.2.18 (openssl)
- pysaml2==0.4.3
- djangosaml2==0.10.0
This file contains hidden or 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
license: mit |
This file contains hidden or 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
import argparse | |
import os | |
import re | |
import sys | |
from sys import platform | |
from subprocess import check_output, STDOUT, CalledProcessError | |
from itertools import izip_longest | |
from timeit import timeit | |
from subprocess import Popen | |
from threading import Timer |
This file contains hidden or 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
if (typeof DOJ == 'undefined') { | |
DOJ = {}; | |
} | |
// http://toddmotto.com/mastering-the-module-pattern/ | |
DOJ = function () { | |
var _myPrivateVar = "_myPrivateVar can be accessed only from within DOJ."; | |
var myPublicProperty = "myPublicProperty is accessible as DOJ.myPublicProperty."; |