public class AuthorizerFactory extends Object
Authorizer.| Constructor and Description |
|---|
AuthorizerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static UserStore |
createUserStore(io.ballerina.messaging.broker.common.StartupContext startupContext,
BrokerAuthConfiguration brokerAuthConfiguration) |
static Authorizer |
getAuthorizer(io.ballerina.messaging.broker.common.config.BrokerCommonConfiguration commonConfiguration,
BrokerAuthConfiguration brokerAuthConfiguration,
UserStore userStore,
io.ballerina.messaging.broker.common.StartupContext startupContext)
Provides an instance of @
Authorizer |
public static Authorizer getAuthorizer(io.ballerina.messaging.broker.common.config.BrokerCommonConfiguration commonConfiguration, BrokerAuthConfiguration brokerAuthConfiguration, UserStore userStore, io.ballerina.messaging.broker.common.StartupContext startupContext) throws Exception
AuthorizercommonConfiguration - common ConfigurationbrokerAuthConfiguration - the auth configurationstartupContext - the startup context provides registered services for authenticator functionality.Exception - throws if error occurred while providing new instance of authProviderpublic static UserStore createUserStore(io.ballerina.messaging.broker.common.StartupContext startupContext, BrokerAuthConfiguration brokerAuthConfiguration)
Copyright © 2018 WSO2. All rights reserved.