Class AuthzRequestService
- java.lang.Object
-
- io.jans.as.server.authorize.ws.rs.AuthzRequestService
-
@Named public class AuthzRequestService extends Object
- Author:
- Yuriy Zabrovarnyy
-
-
Field Summary
Fields Modifier and Type Field Description static String
INVALID_JWT_AUTHORIZATION_REQUEST
-
Constructor Summary
Constructors Constructor Description AuthzRequestService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDeviceSecretToSession(AuthzRequest authzRequest, io.jans.as.common.model.session.SessionId sessionId)
static boolean
canLogWebApplicationException(jakarta.ws.rs.WebApplicationException e)
void
checkIdTokenMember(AuthzRequest authzRequest, RedirectUriResponse redirectUriResponse, io.jans.as.common.model.common.User user, JwtAuthorizationRequest jwtRequest)
void
createOauth2AuditLog(AuthzRequest authzRequest)
void
createOauth2AuditLog(AuthzRequest authzRequest, Action action)
void
createRedirectUriResponse(AuthzRequest authzRequest)
void
fillRedirectUriResponseforJARM(RedirectUriResponse redirectUriResponse, io.jans.as.model.token.JsonWebResponse jwr, io.jans.as.common.model.registration.Client client)
Map<String,Integer>
getAcrToLevelMap()
int
getCurrentMinAcrLevel(AuthzRequest authzRequest)
void
handleJwr(AuthzRequest authzRequest, io.jans.as.common.model.registration.Client client, RedirectUriResponse redirectUriResponse, io.jans.as.model.token.JsonWebResponse jwr)
@Nullable io.jans.as.model.token.JsonWebResponse
parseRequestToJwr(String request)
boolean
processPar(AuthzRequest authzRequest)
void
processRequestObject(AuthzRequest authzRequest, io.jans.as.common.model.registration.Client client, Set<String> scopes, io.jans.as.common.model.common.User user, List<io.jans.as.model.common.Prompt> prompts)
void
setAcrsIfNeeded(AuthzRequest authzRequest)
-
-
-
Field Detail
-
INVALID_JWT_AUTHORIZATION_REQUEST
public static final String INVALID_JWT_AUTHORIZATION_REQUEST
- See Also:
- Constant Field Values
-
-
Method Detail
-
addDeviceSecretToSession
public void addDeviceSecretToSession(AuthzRequest authzRequest, io.jans.as.common.model.session.SessionId sessionId)
-
processPar
public boolean processPar(AuthzRequest authzRequest)
-
processRequestObject
public void processRequestObject(AuthzRequest authzRequest, io.jans.as.common.model.registration.Client client, Set<String> scopes, io.jans.as.common.model.common.User user, List<io.jans.as.model.common.Prompt> prompts)
-
handleJwr
public void handleJwr(AuthzRequest authzRequest, io.jans.as.common.model.registration.Client client, RedirectUriResponse redirectUriResponse, io.jans.as.model.token.JsonWebResponse jwr)
-
checkIdTokenMember
public void checkIdTokenMember(AuthzRequest authzRequest, RedirectUriResponse redirectUriResponse, io.jans.as.common.model.common.User user, JwtAuthorizationRequest jwtRequest)
-
parseRequestToJwr
@Nullable public @Nullable io.jans.as.model.token.JsonWebResponse parseRequestToJwr(String request)
-
fillRedirectUriResponseforJARM
public void fillRedirectUriResponseforJARM(RedirectUriResponse redirectUriResponse, io.jans.as.model.token.JsonWebResponse jwr, io.jans.as.common.model.registration.Client client)
-
setAcrsIfNeeded
public void setAcrsIfNeeded(AuthzRequest authzRequest)
-
getCurrentMinAcrLevel
public int getCurrentMinAcrLevel(AuthzRequest authzRequest)
-
createRedirectUriResponse
public void createRedirectUriResponse(AuthzRequest authzRequest)
-
canLogWebApplicationException
public static boolean canLogWebApplicationException(jakarta.ws.rs.WebApplicationException e)
-
createOauth2AuditLog
public void createOauth2AuditLog(AuthzRequest authzRequest)
-
createOauth2AuditLog
public void createOauth2AuditLog(AuthzRequest authzRequest, Action action)
-
-