Is there a way that I can create my own custom login page and send the data to login controller of spring security plugin. I currently see my code redirecting directly to the default login page of spring security plugin.
Change login page for spring security plugin in grails
8.1k Views Asked by Rammohan At
2
There are 2 best solutions below
Related Questions in SPRING
- Redirect inside java interceptor
- Spring RestTemplate passing the type of the response
- spring-integration-dsl-groovy-http return null when i use httpGet method
- Custom Spring annotation for request parameters
- Spring - configure Jboss Intros for xml with java config?
- HTTP Status 404 - Not Found in Spring 3.2.7
- AndroidAnnotations how to use setBearerAuth
- android I/O error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
- Show login dialog when not authenticated yet
- Spring Data Rest supporting json and xml
- @Value annotation not resolved in a class that belongs to dependency jar
- Remove nested _embedded fields while using projections
- How to send Rest GET request that contains "#" value in url parameters?
- How to inject spring bean into Validator(hibernate)
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
Related Questions in GRAILS
- No such property: id for class: java.lang.String
- Using like to non-string columns in Grails
- How to convert object reference that are in string form to that refrence class object?
- Restrict access to java-melody monitoring url
- Intercepting springsecurity behavior in grails
- Sort a Grails Domain list using a column index instead of column name
- Using service beans and dependency Injection in Geb Functional Tests
- how to create a pdf editor for grails
- Remove method of the List is not working
- Grails query based on Date
- Unit tests fail to run after upgrade from grails 2.3 to 2.5
- GGTS Classpath won't recognize folder on classpath after gradle eclipse
- Grails 2.4.4. hierarchical domain structure: find
- change input field value via javascript in grails
- Create skinny War file using Maven in Mavenized Grails
Related Questions in SPRING-SECURITY
- AndroidAnnotations how to use setBearerAuth
- Show login dialog when not authenticated yet
- LDAP user attributes from CAS
- Spring security /j_spring_security_login 404 error
- Use thymeleaf template for some pages and rest for some for building gradle project
- Spring MVC + Tiles + Spring Security = The requested resource is not available
- The type javax.servlet.ServletContext and javax.servlet.ServletException cannot be resolved
- Intercepting springsecurity behavior in grails
- Basic Auth to Receive Token in Spring Security
- Spring LDAP Context.REFERRAL to follow
- Fail to locate j_spring_security_check in Spring Security
- Accessing resource with expired bearer token fails with 500 http code
- Spring security not authenticate the user
- Remove "Using default security password" on Spring Boot
- Is a SecurityContext shared between requests when using Spring Security?
Related Questions in GRAILS-PLUGIN
- Grails + Mongo: GORM mysteriously thinks a object referenced by an embedded field has a changed propery
- Defining a Grails 3.0 plugin domain class to be extendable
- Configuring CK Editor plugin in Grails
- How to declare javascript asset in the view to be rendered within the footer using Grails Asset Pipeline
- Notifications plugin - what to use
- How to enable cross-origin requests in Grails websocket plugin
- Add behavior (relationships) to grails plugin domain classes from main application?
- How to run a thread in background using grails 2.3.11
- Not able to import Quartz Monitor plugin in Grails 2.4.3
- Grails 2.3.9 - Error: ClassNotFoundException: grails.plugin.spock.test.GrailsSpecTestType
- How do I use Bintray with Grails when applying plugins to my app?
- What are inline plugins?
- A Grails run-app Error
- Grails Jquery-UI datepicker
- cannot install grails 2.5 local plugin( zip file)
Related Questions in GRAILS-2.2
- Grails junk of debug logs
- Compilation error start up failed Invalid command line for usage of javac
- GSP compilation failed in grails
- Jasypt: read configuration from external file
- grails.project.war.file is not creating a war with the correct file name, seems to be caching previous name?
- Grails and Hibernate Plugin
- Error using spring-security plugin in grails
- How to create a Rails project along with its database in Rails2?
- How to include gems in the project using Rails 2 and Ruby 1.9.3?
- custom page size in pdfbox?
- Change login page for spring security plugin in grails
- Binding Boolean value for checkbox in Grails 2.2.4
- Creating SSL Certificate Server failed to start: com.ibm.crypto.tools.KeyTool error?
- Custom Plugin transitive Dependency resolution in BuildConfig.groovy Grails 2.2.3
- No javascript provider is configured
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The 2.0 plugin comes with its own auth.gsp page, so if you create your own (either modify the plugin's or create your own) and put it in grails-app/views/login/auth.gsp it will be used. In 1.2.x the auth.gsp is in your app source, so edit it there.
If you want to further customize the login process, I did a talk at http://burtbeckwith.com/blog/?p=1090 and there's some sample code that adds a 3rd login parameter. That code is based on the 1.2.x plugin and would need to be updated for 2.0, but the ideas are the same.