Ignore:
Timestamp:
Feb 3, 2015, 6:01:27 PM (9 years ago)
Author:
casties
Branch:
default
Message:

upped version to 0.5.
can use display name and groups from auth token.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/Person.java

    r87 r88  
    1 /**
    2  *
    3  */
    41package de.mpiwg.itgroup.annotations;
    52
     
    2623 */
    2724
     25import java.util.Set;
     26
    2827import de.mpiwg.itgroup.annotations.restlet.BaseRestlet;
    2928
     
    3433public class Person extends Actor {
    3534
     35    public Set<String> groups;
     36   
    3637    public Person() {
    3738    }
     
    9293        return name;
    9394    }
     95   
     96    /**
     97     * Returns the anonymous Person.
     98     *
     99     * @return
     100     */
     101    public static Person getAnonymous() {
     102        return new Person("anonymous");
     103    }
    94104
    95105    /* (non-Javadoc)
Note: See TracChangeset for help on using the changeset viewer.