|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.rewrite.IfRemoteUser
@Configurable public class IfRemoteUser
A rewrite condition that passes if the client has been authenticated
and the remote user has the specified name, as determined by
HttpServletRequest.getRemoteUser()
.
Constructor Summary | |
---|---|
IfRemoteUser()
|
Method Summary | |
---|---|
void |
init()
|
boolean |
isMatch(HttpServletRequest request)
|
void |
setValue(java.lang.String user)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfRemoteUser()
Method Detail |
---|
public void setValue(java.lang.String user)
@PostConstruct public void init()
public boolean isMatch(HttpServletRequest request)
isMatch
in interface RequestPredicate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |