Skip to content

Commit

Permalink
refactor: add TODO, delete unhelpful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
swalchemist committed Dec 26, 2023
1 parent 368bc5c commit aa60f2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion uaa/src/main/webapp/WEB-INF/spring/saml-idp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/security https://www.springframework.org/schema/security/spring-security.xsd">

<!-- <bean id="samlIdpLoginFilter" class="org.springframework.security.web.FilterChainProxy">-->
<!--TODO: delete dead code-->
<!-- <security:filter-chain-map-->
<!-- request-matcher="ant">-->
<!-- <security:filter-chain pattern="/saml/idp/SSO/**"-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ void getTokenUsingSaml2BearerGrant() throws Exception {
String clientId = "testclient" + generator.generate();
setUpClients(clientId, "uaa.none", "uaa.user,openid", GRANT_TYPE_SAML2_BEARER + ",password,refresh_token", true, TEST_REDIRECT_URI, null, 600, zone.getIdentityZone());

//String fullPath = "/uaa/oauth/token";
MockHttpServletRequestBuilder post = MockMvcRequestBuilders.post(fullPath)
.with(request -> {
request.setServerPort(8080);
Expand Down

0 comments on commit aa60f2c

Please sign in to comment.