![]() ![]() The identity of the principal being authenticated. Stores additional details about the authentication request. The credentials that prove the principal is correct. Set by an AuthenticationManager to indicate the authorities that the principal has been In most cases, the framework transparently takes care of managing the security context and authentication objects Still be authenticated by any security interceptor (for method or web invocations) which encounters it. Note that unless the Authentication has the authenticated property set to true, it will Securit圜ontextHolder.getContext().setAuthentication(anAuthentication) Mechanisms, by creating an Authentication instance and using the code: ![]() An explicit authentication can be achieved, without using one of Spring Security's authentication Securit圜ontext managed by the Securit圜ontextHolder by the authentication mechanism which isīeing used. Once the request has been authenticated, the Authentication will usually be stored in a thread-local ![]() Processed by the thenticate(Authentication) method. Represents the token for an authentication request or for an authenticated principal once the request has been Public interface Authentication extends Principal, Serializable Interface Authentication All Superinterfaces: Principal, Serializable All Known Implementing Classes: AbstractAuthenticationToken, AnonymousAuthenticationToken, CasAssertionAuthenticationToken, CasAuthenticationToken, JaasAuthenticationToken, OpenIDAuthenticationToken, PreAuthenticatedAuthenticationToken, RememberMeAuthenticationToken, RunAsUserToken, TestingAuthenticationToken, UsernamePasswordAuthenticationToken SUMMARY: NESTED | FIELD | CONSTR | METHOD Authentication (Spring Security 3.0.8.RELEASE API) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |