public class AuthObserver extends Observer
| Modifier and Type | Field and Description |
|---|---|
protected static net.e6tech.elements.security.SymmetricCipher |
cipher |
| Constructor and Description |
|---|
AuthObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
authorize(net.e6tech.elements.network.restful.RestfulProxy proxy) |
void |
beforeInvocation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.Object[] args) |
long |
getExpiration() |
java.lang.String |
getSharedKey() |
void |
setExpiration(long expiration) |
void |
setSharedKey(java.lang.String sharedKey) |
afterInvocation, clone, onException, openpublic java.lang.String getSharedKey()
public void setSharedKey(java.lang.String sharedKey)
public long getExpiration()
public void setExpiration(long expiration)
public void authorize(net.e6tech.elements.network.restful.RestfulProxy proxy)
public void beforeInvocation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object instance,
java.lang.reflect.Method method,
java.lang.Object[] args)
beforeInvocation in class Observer