Package io.jans.as.server.service
Class AuthorizeService
- java.lang.Object
-
- io.jans.as.server.service.AuthorizeService
-
@RequestScoped public class AuthorizeService extends java.lang.Object
- Version:
- May 9, 2020
- Author:
- Yuriy Movchan, Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description AuthorizeService()
-
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)
-
-
-
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)
-
-