Thursday, 16 July 2015

Difference between @Secured and @PreAuthorize

@Secured vs @PreAuthorize : Spring Framework provides the different ways to secure the application. Spring Framework has lots of handy tools or methods to secure application. @Secured and @PreAuthorize are the two most popular annotations used to provide method level security. @Secured is used from a long time it is mature whereas @PreAuthorize is a bit new but becoming famous very fast.

These both are used by developer for security but most of developers are confused about these functionality because both are almost same. @Secured and @PreAuthorize are almost same there is very little difference between these two. Both @Secured and @PreAuthorize belongs to Spring Security. But @PreAuthorize is more powerful than the @Secured.

To view full blog about “Difference between @Secured and @PreAuthorize” visit FindNerd.

FindNerd is not only about blogs, forums and tutorials, it has much more than this. Video blogging can be done using FindNerd. We have researched a lot before posting this feature and it had been noticed that many people are learning things by watching videos, instead of reading blogs. After finding positive results towards video blogging than reading blogs, we decided to launch a Desktop Video Recording Tool.

Wednesday, 15 July 2015

Using @PreAuthorize on Spring controllers methods



Authenticate controller method using @PreAuthorize annotation : @PreAuthorize annotation is used to provide the method level security. We can secure our methods by using @PreAuthorize annotation. It is very easy to use and it is always preferred over the @Secured annotation.
@PreAuthorize is different in a way that it is more powerful than the @Secured. We can use Spring expression language(SpringEL) to validate the method before calling.
For full Blog of Using @PreAuthorize on Spring controllers methods visit FindNerd.

FindNerd- a social platform for tech nerds allows you to ask questions of all your technical problems. Use FindNerd for the following, increase knowledge, ask tech query, blog post, video post etc.

Tuesday, 14 July 2015

How to generate random number in Java?

Sometimes we need to generate random numbers to identify an entity uniquely. We can generate random number very easily by the below code:
/**
 *
 * @return a random confirmation code.
For full blog about to generate random number in Java please visit Findnerd.

You can find such more Java blogs at our Java Development Blogs Section.

Monday, 13 July 2015

Spring MVC 3 and handling static content

We can handle static content for example: js,css,images in Spring MVC by using mvc:resources element.
mvc:resources element is used to point to the location of static content with a specific public URL pattern.

For example – define the below line in your application-servlet.xml file. This line will serve all requests for static content coming in with a public URL pattern like “/assets/**” by searching in the “/assets/” directory under the root folder in our application.:
<mvc:resources mapping="/assets/**" location="/assets/" />
Here you can find the complete example:
To Read more about Spring MVC 3 and handling static content visit FindNerd.

FindNerd also facilitate its users to ask questions section in which one can post his programming queries on android, php, java, c programming questions and answers etc. Also, we assure to reach you as soon as possible we see it.

Friday, 10 July 2015

How to use Autowire With Qualifiers?

In Spring we use @Qualifier to indicate which bean we want to qualify to autowired on a field.when we create multiple beans of the same type( for example: Department) and want to autowire only one of them with a property in some other class (for example: Employee). For full blog read here about  to use Autowire With Qualifiers.
You can also post your queries related to various technologies at our ask questions section. Findnerd platform not only allows to just ask questions, however its features are more than that, like you can post blogs, Manage projects, Manage employee’s productivity, share your desktop with others etc..



Thursday, 9 July 2015

Do app. Clones make sense?

“I need a website similar to Facebook with all the features exactly same as Facebook…”
“I need a TempleRun game clone…”
“I need a travel website similar to makemytrip.com…”
Being in software services industry, one must have come across these kind of requests from clients at one point of time or another. But do clones really make sense?
To read this full blog about “Do app. clones make sense?” visit FindNerd. As it is an effective technology forum, so here you can also ask questions & look for various programming queries along with their solutions including Android, C, Php, Java Questions and Answers etc.

Monday, 6 July 2015

FindNerd Project Management Tool- Comparison with Trello and Pivotal Tracker

There are many Online Project Management products available in the market. All these tools provide different set of features and target various industries.
These tools range from simple task management and list management features like those provided by Trello, which can be applied across a broad range of industries but have limited features. On the other hand, there are products like Pivotal Tracker which provide project management features focused on Agile software development following a rigid process.
View the full feature comparison of FindNerd Project management Tool with Trello & Pivotal Tracker here.
Manage your Projects, Teams, Issues easily and make your project planning much decisive & simpler with FindNerd’s Online Project Management Tool.