Class StatusListService


  • @ApplicationScoped
    public class StatusListService
    extends Object
    Author:
    Yuriy Z
    • Constructor Detail

      • StatusListService

        public StatusListService()
    • Method Detail

      • requestStatusList

        public jakarta.ws.rs.core.Response requestStatusList​(String acceptHeader)
      • join

        public io.jans.model.tokenstatus.StatusList join​(List<io.jans.model.token.StatusIndexPool> pools)
      • addStatusClaimWithIndex

        public void addStatusClaimWithIndex​(io.jans.as.model.token.JsonWebResponse jwr,
                                            ExecutionContext executionContext)
      • getSub

        public String getSub()
        Returns sub of status list. It must be equal in both issued token jwt ("uri") and status list jwt ("sub").
        Returns:
        Returns sub of status list
      • createResponseJwt

        public String createResponseJwt​(org.json.JSONObject response)
                                 throws Exception
        Throws:
        Exception
      • fillPayload

        public void fillPayload​(io.jans.as.model.token.JsonWebResponse jwr,
                                org.json.JSONObject response)
                         throws io.jans.as.model.exception.InvalidJwtException
        Throws:
        io.jans.as.model.exception.InvalidJwtException