Class OAuth2BasedMQTTAuthenticator

java.lang.Object
org.wso2.carbon.andes.authentication.andes.OAuth2BasedMQTTAuthenticator
All Implemented Interfaces:
org.dna.mqtt.moquette.server.IAuthenticator

public class OAuth2BasedMQTTAuthenticator extends Object implements org.dna.mqtt.moquette.server.IAuthenticator
Authenticates token with OAuthValidationService. Intended usage is via providing fully qualified class name in broker.xml
  • Constructor Details

    • OAuth2BasedMQTTAuthenticator

      public OAuth2BasedMQTTAuthenticator()
      Initialize the OAUTH2ValidationStubFactory to communicate with the OAuth2TokenValidationService
  • Method Details

    • checkValid

      public org.dna.mqtt.moquette.server.AuthenticationInfo checkValid(String token, String unusedParameter)
      Authenticates the user against carbon user store.
      Specified by:
      checkValid in interface org.dna.mqtt.moquette.server.IAuthenticator