You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0f9ba3d
Browse filesBrowse the repository at this point in the historyBrowse files
if (authenticationResponse.getStatusCode().value() == 401) {
91
-
// temporary - the idea here is to generate the not authorized exception - not by hand, but by returning wrong credentials which in turn will be refused later
94
+
// temporary - the idea here is to generate the not authorized
95
+
// exception - not by hand, but by returning wrong credentials
@@ -111,13 +116,18 @@ protected final UserDetails retrieveUser(final String name, final UsernamePasswo
111
116
}
112
117
113
118
/**
114
-
* Sets the PasswordEncoder instance to be used to encode and validate passwords. If not set, the password will be compared as plain text.
119
+
* Sets the PasswordEncoder instance to be used to encode and validate
120
+
* passwords. If not set, the password will be compared as plain text.
115
121
* <p/>
116
-
* For systems which are already using salted password which are encoded with a previous release, the encoder should be of type {@code org.springframework.security.authentication.encoding.PasswordEncoder}. Otherwise, the recommended
117
-
* approach is to use {@code org.springframework.security.crypto.password.PasswordEncoder}.
118
-
*
122
+
* For systems which are already using salted password which are encoded
123
+
* with a previous release, the encoder should be of type
* The source of salts to use when decoding passwords. <code>null</code> is a valid value, meaning the <code>DaoAuthenticationProvider</code> will present <code>null</code> to the relevant <code>PasswordEncoder</code>.
171
+
* The source of salts to use when decoding passwords. <code>null</code> is
172
+
* a valid value, meaning the <code>DaoAuthenticationProvider</code> will
173
+
* present <code>null</code> to the relevant <code>PasswordEncoder</code>.
162
174
* <p/>
163
-
* Instead, it is recommended that you use an encoder which uses a random salt and combines it with the password field. This is the default approach taken in the {@code org.springframework.security.crypto.password} package.
164
-
*
175
+
* Instead, it is recommended that you use an encoder which uses a random
176
+
* salt and combines it with the password field. This is the default
Copy file name to clipboardExpand all lines: common/src/test/java/org/rest/common/web/event/PaginatedResultsRetrievedDiscoverabilityListenerUnitTest.java
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -67,10 +67,8 @@ public final void givenThreePages_whenNotifierToAddLinkForFirstPage_thenNextAndL
<mysql-connector-java.version>5.1.30</mysql-connector-java.version> <!-- latest version on: 06.05.2014 - http://dev.mysql.com/downloads/connector/j/ -->
<mysql-connector-java.version>5.1.36</mysql-connector-java.version> <!-- latest version on: 10.08.2015 - http://dev.mysql.com/downloads/connector/j/ -->
0 commit comments