Ignore:
Timestamp:
Nov 4, 2011, 2:57:26 PM (11 years ago)
Author:
work@…
Message:

shibboleth changes - in development...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/authentication/SecUser.groovy

    r1939 r2081  
    22
    33class SecUser implements Serializable {
    4 
    5         String username
    6         String password
     4        String username         // for shibboleth this is request header: persistent-id
     5        String password         // for shibboleth this is springSecurityService.encodePassword("myDummyPassword", shibPersistentId)
     6        String displayName              // shibboleth request header: displayName
     7        String organization             // shibboleth request header: schacHomeOrganization
     8        String uid                              // shibboleth request header: uid
     9        String voName                   // shibboleth request header: coin-vo-name
     10        String userStatus               // shibboleth request header: coin-user-status
    711        String email
    812        Date dateCreated
     13        boolean shibbolethUser = false
    914        boolean enabled
    1015        boolean accountExpired
     
    1621        static constraints = {
    1722                username blank: false, unique: true
    18                 password blank: false
     23                password blank: true
    1924                email blank: false
     25                displayName nullable: true
     26                organization nullable: true
     27                uid nullable: true
     28                voName nullable: true
     29                userStatus nullable: true
    2030        }
    2131
Note: See TracChangeset for help on using the changeset viewer.