Package org.infinispan.server.hotrod
Class Authentication
- java.lang.Object
-
- org.infinispan.server.hotrod.Authentication
-
public class Authentication extends java.lang.ObjectHandler that when added will make sure authentication is applied to requests.- Since:
- 9.0
- Author:
- wburns
-
-
Constructor Summary
Constructors Constructor Description Authentication(io.netty.channel.Channel channel, HotRodServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauth(HotRodHeader header, java.lang.String mech, byte[] response)voidauthMechList(HotRodHeader header)javax.security.auth.SubjectgetSubject(HotRodOperation op)
-
-
-
Constructor Detail
-
Authentication
public Authentication(io.netty.channel.Channel channel, HotRodServer server)
-
-
Method Detail
-
authMechList
public void authMechList(HotRodHeader header)
-
auth
public void auth(HotRodHeader header, java.lang.String mech, byte[] response) throws java.security.PrivilegedActionException, javax.security.sasl.SaslException
- Throws:
java.security.PrivilegedActionExceptionjavax.security.sasl.SaslException
-
getSubject
public javax.security.auth.Subject getSubject(HotRodOperation op)
-
-