Class PropertyFileAuthorization
- java.lang.Object
-
- io.vertx.reactivex.ext.auth.properties.PropertyFileAuthorization
-
- All Implemented Interfaces:
AuthorizationProvider
public class PropertyFileAuthorization extends Object implements AuthorizationProvider
Factory interface for creating property file basedAuthenticationProvider
instances.NOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<PropertyFileAuthorization>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description PropertyFileAuthorization(PropertyFileAuthorization delegate)
PropertyFileAuthorization(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyFileAuthorization
create(Vertx vertx, String path)
Create a File authentication providerboolean
equals(Object o)
Future<Void>
getAuthorizations(User user)
Updates the user with the set of authorizations.PropertyFileAuthorization
getDelegate()
String
getId()
returns the id of the authorization providerint
hashCode()
static PropertyFileAuthorization
newInstance(PropertyFileAuthorization arg)
Completable
rxGetAuthorizations(User user)
Updates the user with the set of authorizations.String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<PropertyFileAuthorization> __TYPE_ARG
-
-
Constructor Detail
-
PropertyFileAuthorization
public PropertyFileAuthorization(PropertyFileAuthorization delegate)
-
PropertyFileAuthorization
public PropertyFileAuthorization(Object delegate)
-
-
Method Detail
-
getDelegate
public PropertyFileAuthorization getDelegate()
- Specified by:
getDelegate
in interfaceAuthorizationProvider
-
getId
public String getId()
returns the id of the authorization provider- Specified by:
getId
in interfaceAuthorizationProvider
- Returns:
-
getAuthorizations
public Future<Void> getAuthorizations(User user)
Updates the user with the set of authorizations.- Specified by:
getAuthorizations
in interfaceAuthorizationProvider
- Parameters:
user
- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
rxGetAuthorizations
public Completable rxGetAuthorizations(User user)
Updates the user with the set of authorizations.- Specified by:
rxGetAuthorizations
in interfaceAuthorizationProvider
- Parameters:
user
- user to lookup and update.- Returns:
- Future void to signal end of asynchronous call.
-
create
public static PropertyFileAuthorization create(Vertx vertx, String path)
Create a File authentication provider- Parameters:
vertx
- the Vert.x instancepath
-- Returns:
- the authentication provider
-
newInstance
public static PropertyFileAuthorization newInstance(PropertyFileAuthorization arg)
-
-