Ignore:
Timestamp:
Nov 7, 2011, 11:50:13 AM (8 years ago)
Author:
work@…
Message:
  • show shibboleth user properly
File:
1 edited

Legend:

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

    r2081 r2086  
    5959                executeUpdate( "DELETE FROM SessionAuthenticatedUser sau WHERE sau.secUser = :secUser", [ "secUser": this ] );
    6060        }
     61
     62        /**
     63         * return the text representation of this user
     64         * @return
     65         */
     66        def String toString() {
     67                if (shibbolethUser) {
     68                        return displayName
     69                } else {
     70                        return username
     71                }
     72        }
    6173}
Note: See TracChangeset for help on using the changeset viewer.