Base interface for auth handlers.

An auth handler allows your application to provide authentication/authorisation support.

Auth handler requires a SessionHandler to be on the routing chain before it.

no type hierarchy

no supertypes hierarchy

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
addAuthoritiesshared AuthHandler addAuthorities(Set<String> authorities)

Add a set of required authorities for this auth handler

Parameters:
  • authorities

    the set of authorities

addAuthorityshared AuthHandler addAuthority(String authority)

Add a required authority for this auth handler

Parameters:
  • authority

    the authority

handleshared void handle(RoutingContext arg0)
Inherited Methods
Methods inherited from: Object
equals