parent
34b4b1054f
commit
c066e23a86
|
@ -1329,6 +1329,7 @@ public final class HttpSecurity extends AbstractConfiguredSecurityBuilder<Defaul
|
||||||
* options for the {@link AuthorizationManagerRequestMatcherRegistry}
|
* options for the {@link AuthorizationManagerRequestMatcherRegistry}
|
||||||
* @return the {@link HttpSecurity} for further customizations
|
* @return the {@link HttpSecurity} for further customizations
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
|
* @since 5.5
|
||||||
* @see #requestMatcher(RequestMatcher)
|
* @see #requestMatcher(RequestMatcher)
|
||||||
*/
|
*/
|
||||||
public HttpSecurity authorizeHttpRequests(
|
public HttpSecurity authorizeHttpRequests(
|
||||||
|
|
|
@ -41,6 +41,7 @@ import org.springframework.util.Assert;
|
||||||
*
|
*
|
||||||
* @param <H> the type of {@link HttpSecurityBuilder} that is being configured.
|
* @param <H> the type of {@link HttpSecurityBuilder} that is being configured.
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public final class AuthorizeHttpRequestsConfigurer<H extends HttpSecurityBuilder<H>>
|
public final class AuthorizeHttpRequestsConfigurer<H extends HttpSecurityBuilder<H>>
|
||||||
extends AbstractHttpConfigurer<AuthorizeHttpRequestsConfigurer<H>, H> {
|
extends AbstractHttpConfigurer<AuthorizeHttpRequestsConfigurer<H>, H> {
|
||||||
|
|
|
@ -27,6 +27,7 @@ import org.springframework.security.core.Authentication;
|
||||||
*
|
*
|
||||||
* @param <T> the type of object authorization is being performed against. This does not.
|
* @param <T> the type of object authorization is being performed against. This does not.
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public final class AuthenticatedAuthorizationManager<T> implements AuthorizationManager<T> {
|
public final class AuthenticatedAuthorizationManager<T> implements AuthorizationManager<T> {
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ import org.springframework.util.Assert;
|
||||||
*
|
*
|
||||||
* @param <T> the type of object being authorized.
|
* @param <T> the type of object being authorized.
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public final class AuthorityAuthorizationManager<T> implements AuthorizationManager<T> {
|
public final class AuthorityAuthorizationManager<T> implements AuthorizationManager<T> {
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ import org.springframework.web.filter.OncePerRequestFilter;
|
||||||
* {@link AuthorizationManager}.
|
* {@link AuthorizationManager}.
|
||||||
*
|
*
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public class AuthorizationFilter extends OncePerRequestFilter {
|
public class AuthorizationFilter extends OncePerRequestFilter {
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ import org.springframework.util.Assert;
|
||||||
* {@link AuthorizationManager} based on a {@link RequestMatcher} evaluation.
|
* {@link AuthorizationManager} based on a {@link RequestMatcher} evaluation.
|
||||||
*
|
*
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public final class DelegatingAuthorizationManager implements AuthorizationManager<HttpServletRequest> {
|
public final class DelegatingAuthorizationManager implements AuthorizationManager<HttpServletRequest> {
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||||
* An {@link HttpServletRequest} authorization context.
|
* An {@link HttpServletRequest} authorization context.
|
||||||
*
|
*
|
||||||
* @author Evgeniy Cheban
|
* @author Evgeniy Cheban
|
||||||
|
* @since 5.5
|
||||||
*/
|
*/
|
||||||
public final class RequestAuthorizationContext {
|
public final class RequestAuthorizationContext {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue