@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) public @interface RequiresAuthentication
RequiresUser
annotation.
This annotation basically ensures that
subject
.isAuthenticated()
=== true
See the RequiresUser
and
RememberMeAuthenticationToken
JavaDoc for an
explanation of why these two states are considered different.RequiresUser
,
RequiresGuest
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.