public interface Authenticator
Authentication authenticate(Map<String,String> credentials, String remoteAddr) throws IcatException
credentials- a map with keys such as username and password. The names and meanings of the keys is the responsibility of the implementor of this interface.
remoteAddr- a string representation of the numeric form of an IP4 or IP6 address. This may be used by the authenticator making use of the
AddressCheckerto determine the outcome.
IcatException- of type
IcatException.IcatExceptionType.SESSIONif unable to authenticate.
Copyright © 2012 The ICAT Collaboration. All Rights Reserved.