Class AuthenticationService

java.lang.Object
systems.dennis.auth.client.utils.AuthenticationService

@Service public class AuthenticationService extends Object
  • Field Details

  • Constructor Details

    • AuthenticationService

      public AuthenticationService(systems.dennis.shared.config.WebContext context)
  • Method Details

    • authorize

      public UserTokenDTO authorize(LoginPassword loginPassword, systems.dennis.shared.scopes.model.ScopeModel scope)
    • authorizeVirtual

      public UserTokenDTO authorizeVirtual(LoginPassword loginPassword, systems.dennis.shared.scopes.model.ScopeModel scope)
    • logout

      public boolean logout()
    • get

      Throws:
      NeedAuthorizationException
    • getToken

      public systems.dennis.shared.entity.TokenData getToken(jakarta.servlet.http.HttpServletRequest request)
    • restore

      public String restore(String login, systems.dennis.shared.config.WebContext.LocalWebContext context)
    • hasRole

      public boolean hasRole(String role)