|  
                  
                  public abstract AuthenticationResult
						  authenticate(String login, String password, boolean needPassword) throws
						  SecurityException; 
                  
               |  
               
                 This method authenticates a user and returns authorizations,
						such as success status, security tokens and associated information, with: 
                  
                 
                  - the 
                    
login 
                    login name, 
                    
                  - and an optional credential 
                    
password to check if 
                    needPassword is set to 
                    true 
                    
                  
                Otherwise, the function always returns a valid object which
						can be used to list the user security tokens. 
                  
               |  
            
 
             
              |  
                  
                  public List<String> getUsers() throws
						  Exception; 
                  
               |  
               
                 Lists all users contained in the security source. 
                  
                It may return an empty list if such information is not
						available. 
                  
               |  
            
 
             
              |  
                  
                  public List<String> getGroups() throws
						  Exception; 
                  
               |  
               
                 Lists all groups contained in the security source. 
                  
                It may return an empty list if such information is not
						available. 
                  
               |  
            
 
             
              |  
                  
                  public SecurityToken getUserToken(String
						  user); 
                  
               |  
               
                 Gets the security token list of a user. 
                  
               |  
            
 
             
              |  
                  
                  public SecurityToken getGroupToken(String
						  group); 
                  
               |  
               
                 Gets the security token list of a group. 
                  
               |