summaryrefslogtreecommitdiffstats
path: root/django/sp_sso/saml/models.py
blob: 091126347e293d0b0290982b19eeb8ad9e351211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from django.db import models
from django.contrib.auth.models import AbstractUser


class SupAnnUser(AbstractUser):
    # eduPerson attributes:
    ep_principal_name = models.CharField(max_length=100,default='user_eppn')
    ep_primary_affiliation = models.CharField(max_length=100, default="")
    ep_affiliation = models.CharField(max_length=100, default="")
    # supannPerson attributes:
    s_entite_affectation_principale = models.CharField(max_length=100, default="")
    s_entite_affectation = models.CharField(max_length=100, default="")
    s_emp_corps = models.CharField(max_length=100, default="")
    s_etablissement = models.CharField(max_length=100, default="")
    s_liste_rouge = models.BooleanField(default=False)

    REQUIRED_FIELDS = []