Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for additional OAuth attributes in DCR #2173

Merged
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
1bd22e4
Support new OAuth attributes in the DCR endpoint
SachiniSiriwardene Sep 26, 2023
616a60d
Merge branch 'master' of https://github.com/wso2-extensions/identity-…
SachiniSiriwardene Sep 26, 2023
6c0144d
Add missing attributes to DTOs
SachiniSiriwardene Sep 26, 2023
e0f1080
store additional OIDC properties related to the application
SachiniSiriwardene Sep 27, 2023
9069fd0
fix checkstyle
SachiniSiriwardene Sep 27, 2023
09b4239
address pr comments
SachiniSiriwardene Sep 27, 2023
1f7f127
add changes to storing data
SachiniSiriwardene Sep 28, 2023
e7cf87d
add attributes for update and retrieve requests
SachiniSiriwardene Sep 28, 2023
71ca68a
Merge branch 'master' of https://github.com/wso2-extensions/identity-…
SachiniSiriwardene Sep 29, 2023
bfa3e58
add support to store jwksURI and upate properties
SachiniSiriwardene Oct 1, 2023
0d79ac2
add support to store and retrieve jwksURI via DCR
SachiniSiriwardene Oct 2, 2023
ad4a33f
Merge branch 'master' of https://github.com/wso2-extensions/identity-…
SachiniSiriwardene Oct 2, 2023
204234b
store service provider property to indicate fapi compliant and third …
SachiniSiriwardene Oct 6, 2023
d2caa0c
address pr comments and remove authorization response encryption
SachiniSiriwardene Oct 7, 2023
de99a78
fix test failures and refactor code
SachiniSiriwardene Oct 7, 2023
b1602a7
fix error
SachiniSiriwardene Oct 7, 2023
01a6511
check FAPI enabled
SachiniSiriwardene Oct 7, 2023
8bc0d35
remove FAPI related changes
SachiniSiriwardene Oct 9, 2023
e169906
remove unused imports
SachiniSiriwardene Oct 9, 2023
f407f26
add new line
SachiniSiriwardene Oct 10, 2023
7b52232
add attributes to wsdl
SachiniSiriwardene Oct 11, 2023
cd62202
remove additional attributes
SachiniSiriwardene Oct 12, 2023
50f7654
change order of wsdl elements
SachiniSiriwardene Oct 13, 2023
a6471e0
Merge branch 'master' of https://github.com/wso2-extensions/identity-…
SachiniSiriwardene Oct 13, 2023
09663af
resolve merge conflicts
SachiniSiriwardene Oct 13, 2023
4a8e806
remove authorization signing algorithm support
SachiniSiriwardene Oct 13, 2023
fdf95f1
enable Id token encryption
SachiniSiriwardene Oct 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@ public class ApplicationDTO {


private String clientName = null;
private String jwksUri = null;
private String tokenEndpointAuthMethod = null;
private String tokenEndpointAuthSigningAlg = null;
private String sectorIdentifierUri = null;
private String idTokenSignedResponseAlg = null;
private String idTokenEncryptedResponseAlg = null;
private String idTokenEncryptedResponseEnc = null;
private String authorizationEncryptedResponseAlg = null;
private String authorizationSignedResponseAlg = null;
private String authorizationEncryptedResponseEnc = null;
private String requestObjectSigningAlg = null;
private String tlsClientAuthSubjectDn = null;
private boolean requirePushAuthorizationRequest;
private boolean requireSignedRequestObject;
private boolean tlsClientCertificateBoundAccessToken;
private String subjectType = null;
private String requestObjectEncryptionAlgorithm = null;
private String requestObjectEncryptionMethod = null;


/**
Expand Down Expand Up @@ -106,7 +124,175 @@ public void setClientName(String clientName) {
this.clientName = clientName;
}


@ApiModelProperty
@JsonProperty("jwks_uri")
public String getJwksUri() {
return jwksUri;
}

public void setJwksUri(String jwksUri) {
this.jwksUri = jwksUri;
}

@ApiModelProperty(value = "")
@JsonProperty("token_endpoint_auth_method")
public String getTokenEndpointAuthMethod() {
return tokenEndpointAuthMethod;
}
public void setTokenEndpointAuthMethod(String tokenEndpointAuthMethod) {
this.tokenEndpointAuthMethod = tokenEndpointAuthMethod;
}


@ApiModelProperty(value = "")
@JsonProperty("token_endpoint_auth_signing_alg")
public String getTokenEndpointAuthSigningAlg() {
return tokenEndpointAuthSigningAlg;
}
public void setTokenEndpointAuthSigningAlg(String tokenEndpointAuthSigningAlg) {
this.tokenEndpointAuthSigningAlg = tokenEndpointAuthSigningAlg;
}

@ApiModelProperty(value = "")
@JsonProperty("sector_identifier_uri")
public String getSectorIdentifierUri() {
return sectorIdentifierUri;
}
public void setSectorIdentifierUri(String sectorIdentifierUri) {
this.sectorIdentifierUri = sectorIdentifierUri;
}

@ApiModelProperty(value = "")
@JsonProperty("id_token_signed_response_alg")
public String getIdTokenSignedResponseAlg() {
return idTokenSignedResponseAlg;
}
public void setIdTokenSignedResponseAlg(String idTokenSignedResponseAlg) {
this.idTokenSignedResponseAlg = idTokenSignedResponseAlg;
}

@ApiModelProperty(value = "")
@JsonProperty("id_token_encrypted_response_alg")
public String getIdTokenEncryptedResponseAlg() {
return idTokenEncryptedResponseAlg;
}
public void setIdTokenEncryptedResponseAlg(String idTokenEncryptedResponseAlg) {
this.idTokenEncryptedResponseAlg = idTokenEncryptedResponseAlg;
}

@ApiModelProperty(value = "")
@JsonProperty("id_token_encrypted_response_enc")
public String getIdTokenEncryptedResponseEnc() {
return idTokenEncryptedResponseEnc;
}
public void setIdTokenEncryptedResponseEnc(String idTokenEncryptedResponseEnc) {
this.idTokenEncryptedResponseEnc = idTokenEncryptedResponseEnc;
}

@ApiModelProperty(value = "")
@JsonProperty("authorization_encrypted_response_alg")
public String getAuthorizationEncryptedResponseAlg() {
return authorizationEncryptedResponseAlg;
}
public void setAuthorizationEncryptedResponseAlg(String authorizationEncryptedResponseAlg) {
this.authorizationEncryptedResponseAlg = authorizationEncryptedResponseAlg;
}

@ApiModelProperty(value = "")
@JsonProperty("authorization_signed_response_alg")
public String getAuthorizationSignedResponseAlg() {
return authorizationSignedResponseAlg;
}
public void setAuthorizationSignedResponseAlg(String authorizationSignedResponseAlg) {
this.authorizationSignedResponseAlg = authorizationSignedResponseAlg;
}

@ApiModelProperty(value = "")
@JsonProperty("authorization_encrypted_response_enc")
public String getAuthorizationEncryptedResponseEnc() {
return authorizationEncryptedResponseEnc;
}
public void setAuthorizationEncryptedResponseEnc(String authorizationEncryptedResponseEnc) {
this.authorizationEncryptedResponseEnc = authorizationEncryptedResponseEnc;
}

@ApiModelProperty(value = "")
@JsonProperty("request_object_signing_alg")
public String getRequestObjectSigningAlg() {
return requestObjectSigningAlg;
}
public void setRequestObjectSigningAlg(String requestObjectSigningAlg) {
this.requestObjectSigningAlg = requestObjectSigningAlg;
}

@ApiModelProperty(value = "")
@JsonProperty("tls_client_auth_subject_dn")
public String getTlsClientAuthSubjectDn() {
return tlsClientAuthSubjectDn;
}
public void setTlsClientAuthSubjectDn(String tlsClientAuthSubjectDn) {
this.tlsClientAuthSubjectDn = tlsClientAuthSubjectDn;
}

@ApiModelProperty(value = "")
@JsonProperty("require_pushed_authorization_requests")
public boolean isRequirePushAuthorizationRequest() {
return requirePushAuthorizationRequest;
}

public void setRequirePushAuthorizationRequest(boolean requirePushAuthorizationRequest) {
this.requirePushAuthorizationRequest = requirePushAuthorizationRequest;
}

@ApiModelProperty(value = "")
@JsonProperty("require_signed_request_object")
public boolean isRequireSignedRequestObject() {
return requireSignedRequestObject;
}

public void setRequireSignedRequestObject(boolean requireSignedRequestObject) {
this.requireSignedRequestObject = requireSignedRequestObject;
}

@ApiModelProperty(value = "")
@JsonProperty("tls_client_certificate_bound_access_tokens")
public boolean isTlsClientCertificateBoundAccessToken() {
return tlsClientCertificateBoundAccessToken;
}

public void setTlsClientCertificateBoundAccessToken(boolean tlsClientCertificateBoundAccessToken) {
this.tlsClientCertificateBoundAccessToken = tlsClientCertificateBoundAccessToken;
}

@ApiModelProperty(value = "")
@JsonProperty("subject_type")
public String getSubjectType() {
return subjectType;
}

public void setSubjectType(String subjectType) {
this.subjectType = subjectType;
}

@ApiModelProperty(value = "")
@JsonProperty("request_object_encryption_alg")
public String getRequestObjectEncryptionAlgorithm() {
return requestObjectEncryptionAlgorithm;
}

public void setRequestObjectEncryptionAlgorithm(String requestObjectEncryptionAlgorithm) {
this.requestObjectEncryptionAlgorithm = requestObjectEncryptionAlgorithm;
}

@ApiModelProperty(value = "")
@JsonProperty("request_object_encryption_enc")
public String getRequestObjectEncryptionMethod() {
return requestObjectEncryptionMethod;
}

public void setRequestObjectEncryptionMethod(String requestObjectEncryptionMethod) {
this.requestObjectEncryptionMethod = requestObjectEncryptionMethod;
}

@Override
public String toString() {
Expand Down
Loading