Class VUser

java.lang.Object
io.vertx.up.atom.container.VUser
All Implemented Interfaces:
io.vertx.ext.auth.User

public class VUser extends Object implements io.vertx.ext.auth.User
Talk holder for set default user.
  • Constructor Summary

    Constructors
    Constructor
    Description
    VUser(io.vertx.core.json.JsonObject principal)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.vertx.core.json.JsonObject
     
    io.vertx.ext.auth.User
     
    io.vertx.ext.auth.User
    isAuthorized(io.vertx.ext.auth.authorization.Authorization authorization, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
     
    io.vertx.ext.auth.User
    isAuthorized(String authority, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler)
     
    io.vertx.ext.auth.User
    merge(io.vertx.ext.auth.User user)
     
    io.vertx.core.json.JsonObject
     
    void
    setAuthProvider(io.vertx.ext.auth.AuthProvider authProvider)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.vertx.ext.auth.User

    authorizations, containsKey, expired, expired, get, getOrDefault, hasAmr, isAuthorized, isAuthorized, subject
  • Constructor Details

    • VUser

      public VUser(io.vertx.core.json.JsonObject principal)
  • Method Details

    • merge

      public io.vertx.ext.auth.User merge(io.vertx.ext.auth.User user)
      Specified by:
      merge in interface io.vertx.ext.auth.User
    • isAuthorized

      public io.vertx.ext.auth.User isAuthorized(String authority, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> resultHandler)
      Specified by:
      isAuthorized in interface io.vertx.ext.auth.User
    • clearCache

      public io.vertx.ext.auth.User clearCache()
      Specified by:
      clearCache in interface io.vertx.ext.auth.User
    • principal

      public io.vertx.core.json.JsonObject principal()
      Specified by:
      principal in interface io.vertx.ext.auth.User
    • setAuthProvider

      public void setAuthProvider(io.vertx.ext.auth.AuthProvider authProvider)
      Specified by:
      setAuthProvider in interface io.vertx.ext.auth.User
    • attributes

      public io.vertx.core.json.JsonObject attributes()
      Specified by:
      attributes in interface io.vertx.ext.auth.User
    • isAuthorized

      public io.vertx.ext.auth.User isAuthorized(io.vertx.ext.auth.authorization.Authorization authorization, io.vertx.core.Handler<io.vertx.core.AsyncResult<Boolean>> handler)
      Specified by:
      isAuthorized in interface io.vertx.ext.auth.User