#spring security
Explore tagged Tumblr posts
Text
SecurityConfig
@Configuration
@EnableWebSecurity
public class SecurityConfig {
@Autowired
private CustomKeycloakPreAuthActionsFilter customKeycloakPreAuthActionsFilter;
@Autowired
private LicenseCheckFilter licenseCheckFilter;
@Autowired
private JwtDecoder jwtDecoder;
private static final int YEAR_IN_SECOND = 31_536_000;
@Bean
protected SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
return http
.addFilterBefore(licenseCheckFilter, BasicAuthenticationFilter.class)
.addFilterAfter(customKeycloakPreAuthActionsFilter, BasicAuthenticationFilter.class)
.authorizeHttpRequests(authorize -> authorize
.requestMatchers(new AntPathRequestMatcher("/mcs/*/system/ping")).permitAll()
.requestMatchers(new AntPathRequestMatcher("/mcs/*/system/privacy-policies", HttpMethod.GET.name())).permitAll()
.requestMatchers(
new AntPathRequestMatcher("/mcs/*/account/request-reset-password-email"),
new AntPathRequestMatcher("/**/account/reset-password-by-email"),
new AntPathRequestMatcher("/mcs/*/account/reset-password")
).permitAll()
.requestMatchers(
new AntPathRequestMatcher("/mcs/*/account/request-activate-email"),
new AntPathRequestMatcher( "/**/account/activate-by-email"),
new AntPathRequestMatcher("/mcs/*/account/activate")
).permitAll()
.requestMatchers(new AntPathRequestMatcher("/mcs/*/account/session", HttpMethod.PUT.name())).permitAll()
.requestMatchers(new AntPathRequestMatcher("/mcs/*/account/session", HttpMethod.POST.name())).permitAll()
.requestMatchers(
new AntPathRequestMatcher("/mcs/*/event/**")
).permitAll()
.requestMatchers(new AntPathRequestMatcher("/static/**")).permitAll()
.requestMatchers(
new AntPathRequestMatcher("/mcs/**")
).hasRole("DASHBOARD")
// all the REST API's must be matched in the above lines
.anyRequest().permitAll())
.csrf(csrf -> csrf
.ignoringRequestMatchers(
new AntPathRequestMatcher("/mcs/*/account/**"),
new AntPathRequestMatcher("/**/license"))
.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse()))
.headers(headers -> headers
.httpStrictTransportSecurity(hsts -> hsts
.includeSubDomains(true)
.maxAgeInSeconds(YEAR_IN_SECOND))
.xssProtection(xss -> xss.headerValue(XXssProtectionHeaderWriter.HeaderValue.ENABLED_MODE_BLOCK))
.contentSecurityPolicy(csp -> csp.policyDirectives("script-src 'self' 'unsafe-eval'")))
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
.oauth2ResourceServer(configurer -> configurer
.jwt(jwtConfigurer -> jwtConfigurer
.decoder(jwtDecoder)
.jwtAuthenticationConverter(jwt -> {
Map<String, Collection<String>> realmAccess = jwt.getClaim("realm_access");
Collection<String> roles = realmAccess.get("roles");
var grantedAuthorities = roles.stream()
.map(role -> new SimpleGrantedAuthority("ROLE_" + role.toUpperCase()))
.toList();
return new JwtAuthenticationToken(jwt, grantedAuthorities);
})))
.build();
}
}
0 notes
Text
Spring Security - Trabajando con usuarios en memoria
Una vez visto lo sencillo que es proteger nuestra aplicación de una forma básica, vamos a complicar un poco la idea, trabajando con cuantos usuarios queramos, en memoria Continue reading Spring Security – Trabajando con usuarios en memoria
View On WordPress
0 notes
Text
Oswald and his friends cause I love their bonding and this game

Bonus

#five nights at freddy's#fnaf fanart#my artwork#fnaf au#evan afton#crying child#fnaf into the pit#fnaf oswald#fnaf Mike#fnaf chip#springtrap#William afton#fnaf Gregory#fnaf Cassie#fnaf security breach#fnaf fazbear frights#spring bonnie
4K notes
·
View notes
Text

In celebration of the “Into the pit” FNAF game announcement,,
#myart#chloesimagination#comic#william afton#steve raglan#springtrap#spring bonnie#scraptrap#plushtrap#glitchtrap#burntrap#pittrap#into the pit#fnaf#fnaf movie#fnaf pizzeria simulator#security breach#fnaf help wanted#fnaf books#fazbear frights#five nights at freddy's#spongebob squarepants#I can’t believe I’m finally legally allowed to make jokes about the books#who else is hyped about ‘into the pit’#cause I’ve been going actually crazy#I wanted to make some art in celebration!!#poor movie William is losing it learning all of this#there are just so many dudes named trap in fnaf it’s so funny#they aren’t all the same guy but by god are they similar#another SpongeBob bit it just works too well here
9K notes
·
View notes
Text
FIN!
#fanart#fantasy#artist#fantasy art#architecture#art#artists on tumblr#digital art#artwork#fnaf fanart#fnaf#fnaf au#fnaf security breach#fnaf fandom#five nights at freddys#fnaf art#fnaf comic#fnaf daycare attendant#fnaf spring trap#spring trap#springtrap#purple man#purple guy#william afton#spring bonnie#phone guy#fnaf 3#dave miller#scott cawthon
727 notes
·
View notes
Text
Happy 10th Anniversary FNaF!!! 🥳🎉💕 I can’t believe this franchise has quite literally been part of half my life, and I wouldn’t have it any other way :) You will always be an incredibly special part of who I am.
#fnaf fanart#fnaf#fnaf security breach#fnaf into the pit#fnaf ruin#fnaf sb#fnaf vanny#fnaf mimic#spring bonnie#fnaf gregory#fnaf cassie fanart#oswald fnaf#fnaf 10th anniversary#fnaf anniversary
2K notes
·
View notes
Text
Danny is a damn good mechanic. Working on his parents automobiles have made how he works on vehicles a bit unorthodox. Why disassemble half of the entire car to get to the battery when you could just go in intangibly? OSHA is a scam and a fraud. So what if Nightwing sees him put tension on some coil springs he needs to add back to a cars suspension BY HAND BY SQUISHING IT DOWN and using safety squints while he secures everything in place. He also can MacGyver up absolutely anything you’ll ever need and anything you never should ever attach to your vehicle. All he asks is that no one ever repairs that part besides himself till the end of time or risk a chance of the item exploding in your face. Is it made out of half a toaster and a raspberry pi? Yes. It can however allow you to see the real time positions of any cop within 25 miles and that’s worth rapid disassembly.
#dpxdc#danny phantom#dp x dc#bones prompts#this is based off of a TikTok I saw from someone who used A FUCKING CLAMP TO PUT TENSION ON A COIL SPRING. MADE A STEEL GUIDE FOR THE#COIL TO GO INTO AND JUST SET IT ONTO THE PROPER PARTS AND SECURED IT#I’ve seen videos of people losing limbs from those things rapidly releasing all tension#and that was buckwild#anyways I love mechanic AU’s but no one writes them but god I try to make it a thing
204 notes
·
View notes
Text
is she good do you think
#this is self indulgent#vanessa fnaf#wren’s art#vanny#fnaf vanessa#fnaf vanny#fnaf#five nights at freddy's#five nights at freddys vanny#sb vanny#security breach vanny#vanny fanart#vanny the bunny#vanessa shelly#vanessa afton#vannyfnaf#fnaf security breach#five nights at freddy's security breach#spring bonnie#springtrap#glitchtrap#malhare
1K notes
·
View notes
Text
William's and y/n's
#fnaf 3#fnaf 1#fnaf security breach#fnaf au#fnaf#fnaf sb#fnaf x oc#fnaf x y/n#fnaf x male reader#fnaf x you#fnaf x reader#william afton x reader#william is gay#william afton#william afton x you#william afton x female reader#into the pit game#into the pit#into the pit x reader#pink guy au#silver eyes#dave miller#dave miller x reader#springbonnie#springtrap#springtrap x reader#spring bonnie
839 notes
·
View notes
Text



Peepaw has plagued my mind lately...
#he doesn't not have arms I just got lazy#five nights at freddys#five nights at freddy's#fnaf#fnaf fanart#william afton#dave miller#william fnaf#fnaf 3 springtrap#springtrap#fnaf 3 fanart#fnaf 3#fnaf art#michael afton#fnaf springtrap#fnaf spring bonnie#mike schmidt#spring bonnie#burntrap#fnaf security breach#traditional drawing#traditional art#sketches#hcollidersart#cw drugs#< kinda?
184 notes
·
View notes
Text
I don't know how I managed to draw these with a mouse, I think I was dying of boredom at school at the time.




These were a lot of sketchy compared to the others.


I decided to draw Andrew again. I think this might be my favorite drawing out of all the ones I've shown.

#fnaf#fazbear frights#fnaf books#five nights at freddy's#fnaf fanart#fnaf fazbear frights#fnaf twisted bonnie#fnaf bonnie#fnaf spring bonnie#spring bonnie#fnaf springtrap#springtrap#fnaf 3#fnaf burntrap#fnaf security breach#security breach#fnaf mimic#fnaf the mimic#fnaf blackbird#fnaf agony#blackbird fnaf#william afton#fnaf william afton#fnaf scraptrap#fnaf andrew#andrew fnaf#my art#fanart
269 notes
·
View notes
Text
Empezando con Spring Security
Spring Security, es una parte del sistema Spring orientado a facilitar los métodos de : Autenticación: verificamos la identidad del usuario. Autorización: tipo de permisos que tiene ese usuario. Esto significa, que previa configuración, nos va a permitir identificar al usuario que está accediendo, y a identificar que permisos tiene, permitiéndonos controlar así, lo que puede hacer en nuestro…
View On WordPress
0 notes
Text

#fnaf#fnaf fanart#fnaf movie#fnaf comic#springtrap#william afton#toy chica#toy foxy#mangle#comic#fnaf fandom#fnaf art#fnaf foxy#fnaf security breach#fnaf sb#fredbear#fnaf springtrap#spring bonnie#fnaf 3 springtrap#dave miller#puppet fnaf#purple guy#crying child#creepy art#horror comics#horror
1K notes
·
View notes
Text
I find It so funny how people try to make Afton seem like this misunderstood and grieving father meanwhile he has two supernatural clones of himself born out of pure raw agony of dead children.


Like y'all I think he was never a good person to begin with (Also in Into the pit It shows he turned his youngest's death into a part of the menu at freddy's)
#fnaf#five nights at freddy's#william afton#fnaf security breach#fnaf help wanted#fnaf into the pit#into the pit#Glitchtrap#spring bonnie#tringy talks
1K notes
·
View notes