public class SimpleAuthMethod extends Object implements AuthMethod
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SimpleAuthMethod.User  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
SimpleAuthMethod()  | 
  | 
SimpleAuthMethod(List<SimpleAuthMethod.User> validUsers)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
internalSetLogin(javax.servlet.http.HttpServletRequest request,
                String name)  | 
boolean | 
login(javax.servlet.http.HttpServletRequest request,
     String username,
     String email,
     String domain,
     String password)  | 
void | 
logOut(javax.servlet.http.HttpServletRequest request)  | 
AuthDetails | 
requestIsAuthorized(javax.servlet.http.HttpServletRequest request)  | 
public SimpleAuthMethod(List<SimpleAuthMethod.User> validUsers)
protected SimpleAuthMethod()
public boolean login(javax.servlet.http.HttpServletRequest request,
                     String username,
                     String email,
                     String domain,
                     String password)
              throws Exception
login in interface AuthMethodExceptionpublic void logOut(javax.servlet.http.HttpServletRequest request)
            throws Exception
logOut in interface AuthMethodExceptionpublic AuthDetails requestIsAuthorized(javax.servlet.http.HttpServletRequest request) throws Exception
requestIsAuthorized in interface AuthMethodExceptionprotected void internalSetLogin(javax.servlet.http.HttpServletRequest request,
                                String name)
Copyright © 2014–2016 Soabase. All rights reserved.