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 AuthMethod
Exception
public void logOut(javax.servlet.http.HttpServletRequest request) throws Exception
logOut
in interface AuthMethod
Exception
public AuthDetails requestIsAuthorized(javax.servlet.http.HttpServletRequest request) throws Exception
requestIsAuthorized
in interface AuthMethod
Exception
protected void internalSetLogin(javax.servlet.http.HttpServletRequest request, String name)
Copyright © 2014–2016 Soabase. All rights reserved.