Class UserInfoRestWebServiceImpl

  • All Implemented Interfaces:
    UserInfoRestWebService

    @Path("/")
    public class UserInfoRestWebServiceImpl
    extends Object
    implements UserInfoRestWebService
    Provides interface for User Info REST web services
    Version:
    October 14, 2019
    Author:
    Javier Rojas Blum
    • Constructor Detail

      • UserInfoRestWebServiceImpl

        public UserInfoRestWebServiceImpl()
    • Method Detail

      • requestUserInfoGet

        public jakarta.ws.rs.core.Response requestUserInfoGet​(String accessToken,
                                                              String authorization,
                                                              jakarta.servlet.http.HttpServletRequest request,
                                                              jakarta.ws.rs.core.SecurityContext securityContext)
        Specified by:
        requestUserInfoGet in interface UserInfoRestWebService
      • requestUserInfoPost

        public jakarta.ws.rs.core.Response requestUserInfoPost​(String accessToken,
                                                               String authorization,
                                                               jakarta.servlet.http.HttpServletRequest request,
                                                               jakarta.ws.rs.core.SecurityContext securityContext)
        Specified by:
        requestUserInfoPost in interface UserInfoRestWebService
      • getJweResponse

        public String getJweResponse​(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm keyEncryptionAlgorithm,
                                     io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm blockEncryptionAlgorithm,
                                     io.jans.as.common.model.common.User user,
                                     AuthorizationGrant authorizationGrant,
                                     Collection<String> scopes)
                              throws Exception
        Throws:
        Exception
      • getJSonResponse

        public String getJSonResponse​(io.jans.as.common.model.common.User user,
                                      AuthorizationGrant authorizationGrant,
                                      Collection<String> scopes)
                               throws io.jans.as.model.exception.InvalidClaimException,
                                      ParseException
        Builds a JSon String with the response parameters.
        Throws:
        io.jans.as.model.exception.InvalidClaimException
        ParseException
      • validateRequesteClaim

        public boolean validateRequesteClaim​(io.jans.model.GluuAttribute gluuAttribute,
                                             String[] clientAllowedClaims,
                                             Collection<String> scopes)