public interface Authenticator
AddressChecker.| Modifier and Type | Method and Description |
|---|---|
Authentication |
authenticate(Map<String,String> credentials,
String remoteAddr) |
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 AddressChecker to determine
the outcome.IcatException - of type IcatException.IcatExceptionType.SESSION if
unable to authenticate.Copyright © 2013 The ICAT Collaboration. All Rights Reserved.