Spring Security

Spring Security
Developer(s)4
Stable release
6.3.1 / June 18, 2024; 6 months ago (2024-06-18) [1]
Written inJava
Operating systemCross-platform
Typeweb application framework security
LicenseApache License 2.0
Websiteprojects.spring.io/spring-security/

Spring Security is a Java/Java EE framework that provides authentication, authorization and other security features for enterprise applications. The project was started in late 2003 as 'Acegi Security' (pronounced Ah-see-gee /ɑːs/, whose letters are the first, third, fifth, seventh, and ninth characters from the English alphabet, in order to prevent name conflicts[2]) by Ben Alex, with it being publicly released under the Apache License in March 2004. Subsequently, Acegi was incorporated into the Spring portfolio as Spring Security, an official Spring sub-project. The first public release under the new name was Spring Security 2.0.0 in April 2008, with commercial support and training available from SpringSource.

Authentication flow

Diagram 1 shows the basic flow of an authentication request using the Spring Security system. It shows the different filters and how they interact from the initial browser request, to either a successful authentication or an HTTP 403 error.

Browser submits "authentication credentials"
"Authentication mechanism" collects the details
An "authentication request" object is built
Authentication request sent to an AuthenticationManager
AuthenticationManager (this is responsible for passing requests through a chain of AuthenticationProviders)
"Authentication provider" will ask a UserDetailsService to provide a UserDetails object
The resultant UserDetails object (which also contains the GrantedAuthority[]s) will be used to build the fully populated Authentication object.
If "Authentication mechanism" receives back the fully populated Authentication object, it will deem the request valid, put the Authentication into the SecurityContextHolder; and cause the original request to be retried.
If, on the other hand, the AuthenticationProvider rejected the request, the authentication mechanism will ask the user agent to retry.
AbstractSecurityInterceptor authorizes the regenerated request and throws Java exceptions. (Asks AccessDecisionManager for decision.)
ExceptionTranslationFilter translates the exceptions thrown by AbstractSecurityInterceptor into HTTP related error codes
Error code 403 – if the principal has been authenticated and therefore simply lacks sufficient access
Launch an AuthenticationEntryPoint – if the principal has not been authenticated which is an authentication mechanism

Key authentication features

Key authorization features

Instance-based security features

Other features

  • Software localization so user interface messages can be in any language.
  • Channel security, to automatically switch between HTTP and HTTPS upon meeting particular rules.
  • Caching in all database-touching areas of the framework.
  • Publishing of messages to facilitate event-driven programming.
  • Support for performing integration testing via JUnit.
  • Spring Security itself has comprehensive JUnit isolation tests.
  • Several sample applications, detailed JavaDocs and a reference guide.
  • Web framework independence.

Releases

  • 2.0.0 (April 2008)
  • 3.0.0 (December 2009)
  • 3.1.0 (December 7, 2011)
  • 3.1.2 (August 10, 2012)
  • 3.2.0 (December 16, 2013)
  • 4.0.0 (March 26, 2015)
  • 4.1.3 (August 24, 2016)
  • 4.2.0 (November 10, 2016)
  • 3.2.10, 4.1.4, 4.2.1 (December 22, 2016)
  • 4.2.2 (March 2, 2017)
  • 4.2.3 (June 8, 2017)
  • 5.0.0 (November 28, 2017)
  • 5.0.8, 4.2.8 (September 11, 2018)[5]
  • 5.1.0 GA (September 27, 2018)[6]
  • 5.1.1, 5.0.9, 4.2.9 (October 16, 2018)[7]
  • 5.1.2, 5.0.10, 4.2.10 (November 29, 2018)[8]
  • 5.1.3, 5.0.11, 4.2.11 (January 11, 2019)[9]
  • 5.1.4 (February 14, 2019)[10]
  • 5.1.5, 5.0.12, 4.2.12 (April 3, 2019)[11]

Citations

  1. ^ "Spring Security 5.8.13, 6.2.5, and 6.3.1 are available now". spring.io. Retrieved August 18, 2024.
  2. ^ "Why the name Acegi?". spring.io.
  3. ^ a b c Deinum et al. 2014.
  4. ^ "Master OAuth: How To Build a Secure Authorization Server". December 29, 2024.{{cite web}}: CS1 maint: url-status (link)
  5. ^ "Spring Security 5.0.8 and 4.2.8 Released". spring.io. Retrieved 2019-06-09.
  6. ^ "Spring Security 5.1 goes GA". spring.io. Retrieved 2019-06-09.
  7. ^ "Spring Security 5.1.1, 5.0.9, and 4.2.9 Released". spring.io. Retrieved 2019-06-09.
  8. ^ "Spring Security 5.1.2, 5.0.10, 4.2.10 Released". spring.io. Retrieved 2019-06-09.
  9. ^ "Spring Security 5.1.3, 5.0.11, 4.2.11 Released". spring.io. Retrieved 2019-06-09.
  10. ^ "Spring Security 5.1.4 Released". spring.io. Retrieved 2019-06-09.
  11. ^ "Spring Security 5.1.5, 5.0.12, 4.2.12 Released". spring.io. Retrieved 2019-06-09.

References

Read other articles:

Representations of pirates in fiction or literature This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Pirates in the arts and popular culture – news · newspapers · books · scholar · JSTOR (April 2015) (Learn how and when to remove this template message) Engraving of the English pirate Blackbeard from the 1724 ...

 

Untuk Politikus Amerika, lihat Frances E. Lee. Frances LeeLahirMerna Phyllis Tibbetts(1906-05-05)5 Mei 1906Eagle Grove, Iowa, A.S.Meninggal5 November 2000(2000-11-05) (umur 94)Cardiff-by-the-Sea, California, A.S.PekerjaanAktrisTahun aktif1924–1935Suami/istriAlexander Bennett (1903–1977) Frances Lee (nee Merna Tibbetts; 5 Mei 1906 – 5 November 2000) adalah seorang aktris film Amerika selama era film bisu Hollywood, dan hingga era film suara pada tahun 1930-an.[...

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Anggur Osmanthus Botol-botol anggur cassia Hanzi: 桂花酒 Alih aksara Mandarin - Hanyu Pinyin: guìhuājiǔ - Wade-Giles: kuei-hua-chiu - Peromawian Pos: Kuei Hua Chiew Anggur Cassia Hanzi: 桂酒 Alih aksara Mandarin - Hanyu Pinyin: guìjiǔ - Wade-...

Untuk kegunaan lain, lihat Sanyo (disambiguasi). Sanyo Electric Co., Ltd.Logo Sanyo sejak tahun 1987Nama asli三洋電機株式会社Nama latinSan'yō Denki Kabushiki-gaishaJenisAnak perusahaanIndustriElektronikNasibMenjadi anak usaha Panasonic mulai bulan April 2011 [1]Didirikan1947; 77 tahun lalu (1947)April 1950; 74 tahun lalu (1950-04) (didaftarakan sebagai badan hukum)[2]PendiriToshio IueKantorpusatMoriguchi, Osaka, JepangWilayah operasiSeluruh duniaTokohkunciSe...

 

Pour les articles homonymes, voir Wurtz. Charles Adolphe WurtzFonctionsPrésidentAcadémie des sciences1er janvier - 31 décembre 1881Edmond BecquerelJules JaminSénateur inamovible1881-1884Maire du 7e arrondissement de ParisBiographieNaissance 26 novembre 1817StrasbourgDécès 12 mai 1884 (à 66 ans)6e arrondissement de ParisSépulture Cimetière du Père-Lachaise, sépulture de la famille Oppermann (d)Nationalité françaiseFormation Gymnase Jean-Sturm (jusqu'en 1834)Université ...

 

Department of Colombia For other uses, see Cauca (disambiguation). This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: Cauca Department – news · newspapers · books · scholar · JSTOR (March 2009) Department in Andean Region/Pacific Region, ColombiaDepartment of Cauca Departamento del CaucaDepartment Fla...

Pour les autres articles nationaux ou selon les autres juridictions, voir Ministre de la Défense. Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Certaines informations figurant dans cet article ou cette section devraient être mieux reliées aux sources mentionnées dans les sections « Bibliographie », « Sources » ou « Liens externes » (janvier 2023). Vous pouvez améliorer la vérifiabilité en associant ces informations...

 

Artikel ini tentang air bah dalam mitologi di dunia. Untuk air bah dalam dunia nyata, lihat banjir bandang. Ilustrasi air bah sebagaimana yang dituturkan dalam Kitab Kejadian, oleh Gustave Doré. Mitos tentang air bah yang dikirim oleh dewa atau para dewa untuk menghancurkan peradaban sebagai suatu tindakan pembalasan ilahi adalah sebuah tema yang tersebar luas dalam mitologi Yunani dan banyak mitos dalam budaya lainnya. Kisah tentang Nuh yang selamat dari air bah menggunakan bahteranya dalam...

 

Widespread rash occurring on the body Medical conditionExanthemOther namesExanthemaRash seen in rubellaSpecialtyDermatology An exanthem is a widespread rash occurring on the outside of the body and usually occurring in children.[1] An exanthem can be caused by toxins, drugs, or microorganisms, or can result from autoimmune disease. The term exanthem is from the Greek ἐξάνθημα, exánthēma, 'a breaking out'.[2] It can be contrasted with enanthems which occur in...

521st Air Defense GroupF-86D of the 87th Fighter-Interceptor Squadron at Lockbourne AFB[a]Active1945; 1953–1955Country United StatesBranch United States Air ForceTypeFighter interceptorRoleAir DefenseMilitary unit The 521st Air Defense Group is a disbanded United States Air Force organization. Its last assignment was with the 31st Air Division at Sioux City Municipal Airport, Iowa, where it was inactivated in 1955. The group was originally activated as the 521st Air Servi...

 

La scena del duello ne La dodicesima notte, olio su tela di William Powell Frith (1842) Secondo la scansione presente già nel First Folio e poi divenuta tradizionale, le opere di William Shakespeare sono state suddivise in tre categorie: tragedie, commedie e drammi storici. Alcuni storici hanno però sostenuto la creazione di una quarta categoria interna proprio alle commedie: i romances (o drammi romanzeschi). Caratteristiche Le Commedie nella tradizione elisabettiana avevano un significato...

 

Северный морской котик Самец Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:Синапси...

Rugby teamHindúFull nameHindú ClubUnionURBANickname(s)Torcua, Torcuato, ElefanteFounded10 October 1919; 104 years ago (1919-10-10)LocationDon Torcuato, Greater Buenos Aires, ArgentinaGround(s)Avenida del Golf (Capacity: 5,000)PresidentSantiago AmayaCoach(es)Juan Fernández MirandaLucas OstigliaLeague(s)Top 132022Champion Team kit Official websitewww.hinduclub.com.ar Hindú Club is an Argentine sports club based in the Don Torcuato district of Tigre Partido. The institution...

 

Burgos Su BùrguKomuneComune di BurgosLokasi Burgos di Provinsi SassariNegaraItaliaWilayah SardiniaProvinsiSassari (SS)Pemerintahan • Wali kotaSalvatore ArrasLuas • Total18,08 km2 (6,98 sq mi)Ketinggian575 m (1,886 ft)Populasi (2016) • Total924[1]Zona waktuUTC+1 (CET) • Musim panas (DST)UTC+2 (CEST)Kode pos07010Kode area telepon079Situs webhttp://www.comune.burgos.ss.it Burgos (bahasa Sardinia: Su Bùrgu) ad...

 

Stasiun Osashima (筬島駅 Osashima-eki) adalah sebuah stasiun kereta api yang berada di Jalur Utama Sōya terletak di Nakagawa, Distrik Nakagawa, Subprefektur Kamikawa, Hokkaido, Jepang, yang dioperasikan oleh JR Hokkaido. Stasiun ini diberi nomor W62. Stasiun Osashima筬島駅Bangunan Stasiun OsashimaLokasiMonomanai, Horonobe, Distrik Teshio, Prefektur Hokkaido 098-2500, JepangJepangKoordinat44°44′19.4″N 142°11′51.5″E / 44.738722°N 142.197639°E / 44.7387...

Predicting and managing water resources A hydrologic model is a simplification of a real-world system (e.g., surface water, soil water, wetland, groundwater, estuary) that aids in understanding, predicting, and managing water resources. Both the flow and quality of water are commonly studied using hydrologic models. MODFLOW, a computational groundwater flow model based on methods developed by the US Geological Survey. Analog models Prior to the advent of computer models, hydrologic modeling u...

 

136th season in existence of Manchester United Manchester United 2017–18 football seasonManchester United2017–18 seasonCo-chairmenJoel and Avram GlazerManagerJosé MourinhoStadiumOld TraffordPremier League2ndFA CupRunners-upEFL CupFifth roundUEFA Champions LeagueRound of 16UEFA Super CupRunners-upTop goalscorerLeague: Romelu Lukaku (16)All: Romelu Lukaku (27)Highest home attendance75,118(vs. Crystal Palace,30 September)Lowest home attendance54,256(vs. Burton Albion,20 September)Average ho...

 

Official flag of the German city state of Berlin BerlinLandesflagge (state flag)UseCivil flag and ensign Proportion3:5Adopted26 May 1954DesignA tricolor of red-white-red, defaced with an emblem. Landesdienstflagge (state service flag)UseState flag and ensign Proportion3:5Adopted1954 (West); 1990 (Whole) Standard of the Berlin SenateUseState flag Proportion1:1Adopted1990 The state flag of Berlin, Germany has three stripes of red-white-red, the two outer stripes each occupying a fifth of its h...

American politician For other people, see William Willcox. William WillcoxChair of the Republican National CommitteeIn officeJune 27, 1916 – February 13, 1918Preceded byCharles D. HillesSucceeded byWill H. HaysPostmaster of New York CityIn officeJanuary 1, 1905 – July 1, 1907PresidentTheodore RooseveltPreceded byCornelius Van CottSucceeded byEdward M. Morgan Personal detailsBornWilliam Russell Willcox(1863-04-11)April 11, 1863Smyrna, New York, U.S.DiedApril 9, 1940(1940-...

 

Artikel ini bukan mengenai Avīci. AviciiAvicii pada tahun 2014Informasi latar belakangNama lahirTim BerglingNama lainTim BergTim LidénTom HangsTimbermanLahir(1989-09-08)8 September 1989Stockholm, SwediaMeninggal20 April 2018(2018-04-20) (umur 28)Muscat, OmanGenre EDM progressive house electro house Pekerjaan Disjoki remixer produser rekaman Instrumen Gitar piano keyboard synthesizers Tahun aktif2006–2018Label Geffen[1] UMG Artis terkait David Guetta Wyclef Jean Coldplay Selen...