• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Spring-Security  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The java web application is already developed using Java, JSF+Primefaces and for login they used system username and password but I want to use spring-security for the login page, so how can i proceed with it?

 
Marshal
Posts: 4623
299
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to use Spring Security for the login if you already have a working login?

What problem are you trying to solve?
 
Sujeet Kalaskar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim,

Actually it is using system username and password which will grant full access to application, but i want to add some username and password which will restrict some access to application. And we are not using any database.



Thanks
 
Tim Cooke
Marshal
Posts: 4623
299
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What mechanism do you currently use to authenticate access to your application?
 
Sujeet Kalaskar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know about which mechanism, While installing application it ask for the username and password of the system and it is stored in the .properties file, if any user goes to installed directories he/she will find .properties file and can get the password by decrypting it.

So i want to secure it, is there any way?
 
Tim Cooke
Marshal
Posts: 4623
299
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like a terrible idea. So does that mean the only person who can log into your system is the person who installed it? Weird!

I assume that your application login page does some kind of look up on that properties file to verify the credentials? How does that bit work? Does your application do any other user credential checks at any time from any other part of the system? If so, where?
 
Sujeet Kalaskar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know about it, it was the task of the installer guy.

Any how Thanks and do you have some idea on LDAP?
 
Tim Cooke
Marshal
Posts: 4623
299
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you have absolutely no idea about how the system is implemented, yet you are asking about how to implement Spring Security in the system? Now I'm really confused.

What is your role in relation to this system? Are you a programmer? Are there other programmers working on this system?
 
Sujeet Kalaskar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes there are other programmer working on this system.
 
Tim Cooke
Marshal
Posts: 4623
299
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you discussed this topic with them, what suggestions and comments did they provide you?
 
Getting married means "We're in love, so let's tell the police!" - and invite this tiny ad to the wedding:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!