Package io.jans.as.server.register.ws.rs
Class RegisterService
- java.lang.Object
-
- io.jans.as.server.register.ws.rs.RegisterService
-
@Named public class RegisterService extends Object
- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description RegisterService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDefaultCustomAttributes(org.json.JSONObject requestObject)
void
assignScopes(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject)
String
clientScopesToString(io.jans.as.common.model.registration.Client client)
jakarta.ws.rs.core.Response.ResponseBuilder
createInternalErrorResponse(String reason)
Set<io.jans.as.model.common.GrantType>
identifyGrantTypes(Collection<io.jans.as.model.common.ResponseType> identifiedResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes)
Set<io.jans.as.model.common.ResponseType>
identifyResponseTypes(Collection<io.jans.as.model.common.ResponseType> requestResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes)
static String[]
listAsArrayWithoutDuplicates(List<String> list)
@NotNull org.json.JSONObject
parseRequestObjectWithoutValidation(String requestParams)
void
updateClientFromRequestObject(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject, boolean update)
-
-
-
Method Detail
-
clientScopesToString
public String clientScopesToString(io.jans.as.common.model.registration.Client client)
-
identifyResponseTypes
public Set<io.jans.as.model.common.ResponseType> identifyResponseTypes(Collection<io.jans.as.model.common.ResponseType> requestResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes)
-
identifyGrantTypes
public Set<io.jans.as.model.common.GrantType> identifyGrantTypes(Collection<io.jans.as.model.common.ResponseType> identifiedResponseTypes, Collection<io.jans.as.model.common.GrantType> requestGrantTypes)
-
listAsArrayWithoutDuplicates
public static String[] listAsArrayWithoutDuplicates(List<String> list)
-
updateClientFromRequestObject
public void updateClientFromRequestObject(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject, boolean update) throws org.json.JSONException
- Throws:
org.json.JSONException
-
assignScopes
public void assignScopes(io.jans.as.common.model.registration.Client client, io.jans.as.client.RegisterRequest requestObject)
-
addDefaultCustomAttributes
public void addDefaultCustomAttributes(org.json.JSONObject requestObject)
-
createInternalErrorResponse
public jakarta.ws.rs.core.Response.ResponseBuilder createInternalErrorResponse(String reason)
-
parseRequestObjectWithoutValidation
@NotNull public @NotNull org.json.JSONObject parseRequestObjectWithoutValidation(String requestParams) throws org.json.JSONException
- Throws:
org.json.JSONException
-
-