public interface AuthenticationBroker
Modifier and Type | Method and Description |
---|---|
SecurityContext |
authenticate(String username,
String password,
X509Certificate[] peerCertificates)
Authenticate the given user using the mechanism provided by this service.
|
SecurityContext authenticate(String username, String password, X509Certificate[] peerCertificates) throws SecurityException
username
- the given user name to authenticate, null indicates an anonymous user.password
- the given password for the user to authenticate.peerCertificates
- for an SSL channel the certificates from remote peer.SecurityException
- if the user cannot be authenticated.Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.