Class AuthorizeService


  • @RequestScoped
    public class AuthorizeService
    extends java.lang.Object
    Version:
    May 9, 2020
    Author:
    Yuriy Movchan, Javier Rojas Blum
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Scope> getScopes()  
      java.util.List<Scope> getScopes​(java.lang.String scopes)  
      io.jans.as.common.model.session.SessionId getSession()  
      io.jans.as.common.model.session.SessionId getSession​(java.lang.String sessionId)  
      void permissionDenied​(io.jans.as.common.model.session.SessionId session)  
      void permissionGranted​(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.session.SessionId session)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AuthorizeService

        public AuthorizeService()
    • Method Detail

      • getSession

        public io.jans.as.common.model.session.SessionId getSession()
      • getSession

        public io.jans.as.common.model.session.SessionId getSession​(java.lang.String sessionId)
      • permissionGranted

        public void permissionGranted​(jakarta.servlet.http.HttpServletRequest httpRequest,
                                      io.jans.as.common.model.session.SessionId session)
      • permissionDenied

        public void permissionDenied​(io.jans.as.common.model.session.SessionId session)
      • getScopes

        public java.util.List<Scope> getScopes()
      • getScopes

        public java.util.List<Scope> getScopes​(java.lang.String scopes)