UserManager.java
01 package net.sf.annocon.examples.basic.authentication;
02 
03 /**
04  * Interface for a service that offers access to user data.
05  
06  @author Achim Huegen
07  */
08 public interface UserManager
09 {
10   /**
11    * Returns the data of a user.
12    @param username
13    @return  Null if user is unknown, otherwise the password is returned.
14    */
15   public String getUserData(String username);
16 
17 }