org.archive.wayback.authenticationcontrol
Class HTTPAuthBooleanOperator

java.lang.Object
  extended by org.archive.wayback.authenticationcontrol.HTTPAuthBooleanOperator
All Implemented Interfaces:
BooleanOperator<WaybackRequest>

public class HTTPAuthBooleanOperator
extends Object
implements BooleanOperator<WaybackRequest>

BooleanOperator which returns true if the user has authenticated as one of a list of users with this server.

Author:
brad

Constructor Summary
HTTPAuthBooleanOperator()
           
 
Method Summary
 List<String> getAllowedUsers()
           
 boolean isTrue(WaybackRequest value)
           
 void setAllowedUsers(List<String> allowedUsers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPAuthBooleanOperator

public HTTPAuthBooleanOperator()
Method Detail

isTrue

public boolean isTrue(WaybackRequest value)
Specified by:
isTrue in interface BooleanOperator<WaybackRequest>

getAllowedUsers

public List<String> getAllowedUsers()
Returns:
the List of users that this operator matches against.

setAllowedUsers

public void setAllowedUsers(List<String> allowedUsers)
Parameters:
allowedUsers - the List of users that this operator matches against. format for values is "username:password"


Copyright © 2005-2011 Internet Archive. All Rights Reserved.