Class BasicAuthenticator
- java.lang.Object
-
- org.infinispan.rest.authentication.impl.BasicAuthenticator
-
- All Implemented Interfaces:
Authenticator
public class BasicAuthenticator extends Object implements Authenticator
BASIC authentication mechanism.- Author:
- Tristan Tarrant, Sebastian Ćaskawiec
-
-
Constructor Summary
Constructors Constructor Description BasicAuthenticator(SecurityDomain domain, String realm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
challenge(InfinispanRequest request)
Challenges specificInfinispanRequest
for authentication.
-
-
-
Constructor Detail
-
BasicAuthenticator
public BasicAuthenticator(SecurityDomain domain, String realm)
-
-
Method Detail
-
challenge
public void challenge(InfinispanRequest request) throws AuthenticationException
Description copied from interface:Authenticator
Challenges specificInfinispanRequest
for authentication.- Specified by:
challenge
in interfaceAuthenticator
- Parameters:
request
- Request to be challenged.- Throws:
AuthenticationException
- Thrown if authentication fails.
-
-