Renamed web.wrapper to web.servletapi. Added some package.html files.

This commit is contained in:
Luke Taylor
2009-10-05 16:59:37 +00:00
parent 673cf300fb
commit 1042305cfe
17 changed files with 37 additions and 16 deletions

View File

@@ -0,0 +1,5 @@
<html>
<body>
Strategy interface and implementations for handling session-related behaviour for a newly authenticated user.
</body>
</html>

View File

@@ -0,0 +1,6 @@
<html>
<body>
Authentication user-interface rendering code. Used to conveniently create an appropriate login page when using namespace
configuration without defining a login page URL.
</body>
</html>

View File

@@ -0,0 +1,5 @@
<html>
<body>
Contains WWW-Authenticate based authentication mechanism implementations: Basic and Digest authentication.
</body>
</html>

View File

@@ -1,6 +1,8 @@
<html>
<body>
Stores a <code>HttpServletRequest</code> so that it can subsequently be emulated by the
<code>SavedRequestAwareWrapper</code>.
Classes related top the caching of an <code>HttpServletRequest</code> which requires authentication. While the user is
logging in, the request is cached (using the RequestCache implementation) by the ExceptionTranslationFilter.
Once the user has been authenticated, the original request is restored following a redirect to a matching URL, and the
RequestCache is queried to obtain the original (matching) request.
</body>
</html>

View File

@@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.springframework.security.web.wrapper;
package org.springframework.security.web.servletapi;
import java.io.IOException;

View File

@@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.springframework.security.web.wrapper;
package org.springframework.security.web.servletapi;
import java.security.Principal;

View File

@@ -1,5 +1,5 @@
<html>
<body>
HttpSession events and publisher classes.
Session management filters, HttpSession events and publisher classes.
</body>
</html>

View File

@@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.springframework.security.web.wrapper;
package org.springframework.security.web.servletapi;
import javax.servlet.FilterChain;
import javax.servlet.http.HttpServletResponse;
@@ -24,6 +24,8 @@ import org.jmock.integration.junit4.JUnit4Mockery;
import org.junit.Test;
import org.springframework.mock.web.MockHttpServletRequest;
import org.springframework.mock.web.MockHttpServletResponse;
import org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter;
import org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestWrapper;
/**

View File

@@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.springframework.security.web.wrapper;
package org.springframework.security.web.servletapi;
import junit.framework.TestCase;
@@ -23,6 +23,7 @@ import org.springframework.security.core.Authentication;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestWrapper;
/**
* Tests {@link SecurityContextHolderAwareRequestWrapper}.