Package org.gluu.oxauth.userinfo.ws.rs
Class UserInfoRestWebServiceImpl
- java.lang.Object
-
- org.gluu.oxauth.userinfo.ws.rs.UserInfoRestWebServiceImpl
-
- All Implemented Interfaces:
UserInfoRestWebService
@Path("/") public class UserInfoRestWebServiceImpl extends java.lang.Object implements UserInfoRestWebServiceProvides interface for User Info REST web services- Version:
- October 14, 2019
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description UserInfoRestWebServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetJSonResponse(User user, AuthorizationGrant authorizationGrant, java.util.Collection<java.lang.String> scopes)Builds a JSon String with the response parameters.java.lang.StringgetJweResponse(KeyEncryptionAlgorithm keyEncryptionAlgorithm, BlockEncryptionAlgorithm blockEncryptionAlgorithm, User user, AuthorizationGrant authorizationGrant, java.util.Collection<java.lang.String> scopes)javax.ws.rs.core.ResponserequestUserInfoGet(java.lang.String accessToken, java.lang.String authorization, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.SecurityContext securityContext)javax.ws.rs.core.ResponserequestUserInfoPost(java.lang.String accessToken, java.lang.String authorization, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.SecurityContext securityContext)booleanvalidateRequesteClaim(org.gluu.model.GluuAttribute gluuAttribute, java.lang.String[] clientAllowedClaims, java.util.Collection<java.lang.String> scopes)
-
-
-
Method Detail
-
requestUserInfoGet
public javax.ws.rs.core.Response requestUserInfoGet(java.lang.String accessToken, java.lang.String authorization, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.SecurityContext securityContext)- Specified by:
requestUserInfoGetin interfaceUserInfoRestWebService
-
requestUserInfoPost
public javax.ws.rs.core.Response requestUserInfoPost(java.lang.String accessToken, java.lang.String authorization, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.SecurityContext securityContext)- Specified by:
requestUserInfoPostin interfaceUserInfoRestWebService
-
getJweResponse
public java.lang.String getJweResponse(KeyEncryptionAlgorithm keyEncryptionAlgorithm, BlockEncryptionAlgorithm blockEncryptionAlgorithm, User user, AuthorizationGrant authorizationGrant, java.util.Collection<java.lang.String> scopes) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getJSonResponse
public java.lang.String getJSonResponse(User user, AuthorizationGrant authorizationGrant, java.util.Collection<java.lang.String> scopes) throws java.lang.Exception
Builds a JSon String with the response parameters.- Throws:
java.lang.Exception
-
validateRequesteClaim
public boolean validateRequesteClaim(org.gluu.model.GluuAttribute gluuAttribute, java.lang.String[] clientAllowedClaims, java.util.Collection<java.lang.String> scopes)
-
-