Questions tagged [pre-authentication]
78 questions
1
vote
1 answer
How to disable /login/auth in Grails/Spring Security plugin
I'm attempting to setup a system in Grails using the Spring Security Plugin that only allows authentication via a Pre-Authentication mechanism.
What I want to happen is that if the user attempts to go to any URL when not authenticated it should take…

user965697
- 137
- 13
1
vote
1 answer
Spring MVC 2.5 - remember me with custom pre authentication filter
I am working on a legacy app that uses Spring Security 2.0.4. I have created a custom AbstractPreAuthenticatedProcessingFilter and PreAuthenticatedAuthenticationProvider. They create and authenticate the user based on an email address sent as a…

headz68
- 187
- 4
- 16
1
vote
1 answer
Can Azure Front Door authenticate a Azure AD JWT before sending the request to the backend service?
we are planning to use FD to act as an reverse proxy to several backend apps. We would like to only send the request to the backend if the Authorization Header has a valid JWT.
(similar to the APIM validate-jwt policy)
Is this possible in Front…

Stevonix
- 49
- 5
1
vote
1 answer
Need to Pass the 'value' to my @CustomPreAuthorize annotation and use it in @PreAuthorize("hasAuthority(@myservice.check(#value))")
Currently I am writing my own custom @PreAuthorize annotation.
My case is as follows,
I am running my authorization KeyCloak server that holds the user details, roles and permission
After Validation, I have stored the permission details in…

Sri hari
- 9
- 4
1
vote
0 answers
AWS Cognito: Access request header detail in pre authentication Lambda function
Is there any way to access request header origin pre authentication trigger Lambda function?

Robin
- 31
- 4
1
vote
1 answer
Spring Security pre authentication filter gets called every time
I have a Spring Boot app where I have custom pre authentication filter. I want to ignore security for health URL but I am not able to do it. Below is my configuration.
@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled =…

Aditya Ekbote
- 1,493
- 3
- 15
- 29
1
vote
1 answer
AWS Cognito Pre-Authentication lambda trigger using .Net Core 3 - returns an 'InvalidLambdaResponse' exception
Need some help with AWS Cognito Pre-Authentication lambda trigger to be written in .Net Core 3. I am able to pass the correct attributes as part of 'validationData' attribute in the cognito request. When the validation attribute fails to satisfy the…

Anand
- 21
- 6
1
vote
0 answers
How to get Websphere LTPA SSO token using preauthentication mechanism using spring 5.1.x in java configuration?
I want to implement Authentication and authorization using spring 5.1.x I have a Websphere application server as third party authentication provider(Local setup) wherein I have feed users and groups file in global security.
Now in appliction I want…

codev
- 11
- 3
1
vote
1 answer
JWT Token generation in Grails with Preauthentication
I have a grails 3 application where authentication is done by Siteminder. After the user is authenticated we should be able to generate a JWT token and using that other rest apis call be protected.
I have used RequestHeaderAuthenticationFilter to…

Anna
- 83
- 2
- 7
1
vote
0 answers
Grails 3.3.5 REST configure HTTP header based authentication and authorization
I am struggling mightily trying to configure Grails 3.3.5 to use HTTP header authentication/authorization on a REST project. I've tried about everything and can't seem to get it to happen. Does anyone have any pointers to a project or sample app…

WizardsOfWor
- 2,974
- 29
- 23
1
vote
0 answers
How to implement Spring's pre-authentication header-based in iframe?
I am new in spring secuirty. I have developing two different application app1 and app2. App1 sending a header request (SM_USER) to App2. Which is working fine with pre-authentication process using SSO. But when I have calling this App1 to load App2…

Sreejith
- 587
- 1
- 9
- 18
1
vote
0 answers
Magento order expired in paypal ?? How can re-authorized expired order in magento ?
I am tired to re-authorized order in magento . How can reauthorized order in magento using paypal express checkout . Please describe your answer and solve my problem . Thanks

Aman
- 11
- 1
1
vote
1 answer
Login via pre authentication filter or form login in spring security
I am looking for a way where you can have two ways to get access to my website.
1) You should be able to use form-login and get your authorities and use the website.
2) You should be able to login into another website and there you should be able…

bjozzi
- 55
- 3
- 12
1
vote
0 answers
Spring Security Custom Preauthentication filter with Digest Authentication
I have an app with uses a Digest authentication. I want to customize the authentication process by checking a custom HTTP header in addition to the Digest method. If the header is present in the request the authentication should proceed as before,…

akafazov
- 435
- 1
- 6
- 14
1
vote
1 answer
How to Redirect Header Not Found Exception to Login Page in Spring Security
I am implementing solution using spring security siteminder. I am able to check SM_USER in header if the header is not found in the request i want to redirect the request to login page .how can i do this i am new to spring
Configuration is:
…

Arun Kumar R
- 11
- 1
- 3