Revision ac3c3a4b aai/shibboleth.py

b/aai/shibboleth.py
15 15
    SIB_EDU_PERSON_AFFILIATION = "shib_ep_primaryaffiliation"
16 16
    SIB_SCHAC_PERSONAL_UNIQUE_CODE = "schacPersonalUniqueCode"
17 17
    SIB_GR_EDU_PERSON_UNDERGRADUATE_BRANCH = "grEduPersonUndergraduateBranch"
18
    SIB_SESSION_ID = "Shib-Session-ID"
18 19

  
19 20
class NoUniqueToken(object):
20 21

  
......
36 37
       http://aai.grnet.gr/policy
37 38
    """
38 39
    realname = None
39
    print tokens
40 40

  
41 41
    if Tokens.SIB_SURNAME in tokens:
42 42
        realname = tokens[Tokens.SIB_SURNAME]
43
    else:
44
        realname = ''
43 45

  
44 46
    if Tokens.SIB_NAME in tokens:
45 47
        realname = tokens[Tokens.SIB_NAME] + ' ' + realname

Also available in: Unified diff