com.caucho.rewrite
Class IfRemoteUser

java.lang.Object
  extended by com.caucho.rewrite.IfRemoteUser
All Implemented Interfaces:
RequestPredicate

@Configurable
public class IfRemoteUser
extends java.lang.Object
implements RequestPredicate

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

IfRemoteUser

public IfRemoteUser()
Method Detail

setValue

public void setValue(java.lang.String user)

init

@PostConstruct
public void init()

isMatch

public boolean isMatch(HttpServletRequest request)
Specified by:
isMatch in interface RequestPredicate