Find Jobs
Hire Freelancers

Spring in business :examples

$250-750 USD

Cancelled
Posted about 9 years ago

$250-750 USD

Paid on delivery
anyone extended spring in a cool way for a business problem that meant you could not use spring out the box but needed something custom? one is logging with AOP, security ... i had to extend security to have roles plus privildges ...so can create and change and user groups outside of code. Any more examples you can share with me? need to give a talk on it. More on the spring security change i did - [login to view URL]… Any more examples like this where you have used spring to solve a business problem by extending it in an elegant way, and can share with me, need to do a talk on this. So what I need - a blurb - short content describing a business case and how you extended spring. Willing to pay $25 for the first to cases I like. See attached for full github link that has sample case. I do not need code - just short technical write up like the one in the link OR posted here too: Spring is great. One example where it helped solve a business problem with little customization is : by default spring security has users and roles we add roles to URLs and methods, to 'guard' them, only users with that role can enter we keep our users in db and our roles too map roles to users Disadvantage here is that if you have many users or/and roles it can be tedious to edit . And need to do code changes to change who can see what Also if you just use 4-5 roles then you have less flexibility . If your customer wants a level of in direction - so without changing code can have different users have different groups. Also in one installation might want 4-5 groups, and in another 10. In this case its nice to have a table of privileges, so each method/ url can be guarded by one. Then outside if code we can create n number of groups (roles) and users. Solution One way to solve this is : Have a mapping table of users-to-roles and another of roles-privileges, and ask sql to: "give me all privileges of all roles of user X", this can be plugged into just the right place in spring and voila you have extended spring security with just a XML change Code: select username, [login to view URL] from user_roles u, roles_privileges r where username = ? and [login to view URL] = [login to view URL] You could also write this in a Java class that is the handler for authentication, but again its just a few lines of code. In data base this would go to Privilidges table. Users would be in users table. Business can make its own Roles in Roles table Then map Privilidges to roles. Link happens in spring security XML to make join and get right roles for a user that are in source. Example URL/ function in code can be accessible by a role called admin_user_add, this would be hard coded in source files (xml/java)
Project ID: 7214920

About the project

7 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
7 freelancers are bidding on average $601 USD for this job
User Avatar
I am Spring enthusiast with lots experience. Have worked in great detail with all kinds of Spring Security issues and would have a best solution for your case. Would prefer to design the application using Java configuration using latest Spring libraries. I value clean and good quality code, have high coding standards.
$444 USD in 10 days
5.0 (3 reviews)
4.4
4.4
User Avatar
I used spring extensively and extended the security module.
$833 USD in 20 days
5.0 (5 reviews)
4.2
4.2
User Avatar
We are Egyptian team, and i am sure that you will get our work is a great as you expect, all of team have a diploma in javaSE, JavaEE, JavaFX using many technologies like Struts1, Struts2, Hibernate, JPA, Spring, Spring MVC, Spring Security, EJB, JSF, Primefaces, Webservices and all of us familier with XML, Javascript, AJAX, Web Services .. etc Also we have members who have a diploma in Andriod, JavaME, IOS, Blackberry applications. We are a team of programmers who have many skills in programming generally and in java specifically. we worked on a projects for a big companies like vodafone, Etisalat and many banks. We have knowledge about many fields of business. I can assure that you'll get your work done in an efficient way.
$833 USD in 10 days
4.8 (18 reviews)
4.2
4.2
User Avatar
I wrote a framework spring security, hibernate, spring ioc, aop. I believe i can finish your project
$444 USD in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$555 USD in 20 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Bangalore, India
5.0
41
Payment method verified
Member since Nov 12, 2007

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.