• Home
  • RSS Feed
  • Log in

Author Archive

yamsellem

HTTP Authentication and Security with Apache Shiro
Posted by yamsellem terribly early in the morning: April 18th, 2011

Authenticating users is an important part of an application. Limiting the access to resources with authorization too. Spring Security is a reference in web environment. However, it is tied to the Spring technology and the size of the library — more than 10 JAR of dependencies — may restrain its use. Moreover, its lack of integration with Guice or the recurrent deployment of an App Engine application may exclude it. This is the opportunity to take a closer look at Apache Shiro.

  • Introduction to HTTP Authentication
  • Shiro servlet filter
  • Secure a resource
  • Test integration
  • Realm and Matcher for the authentication
  • A powerful permission model
  • Authorize with annotations
  • Shiro, a true challenger

(more…)

Share

Tags: authentication, authorization, http header, JAAS, Jersey, jetty, Security, Shiro, Spring Security
Filed under Java, Security | 1 Comment »

yamsellem

JAXB, XML Data Binding
Posted by yamsellem in the early morning: March 17th, 2011

As an ubiquitous exchange format, XML is well implemented in java. But those implementations hide how they perform the data binding from a XML structure to an object graph. It leaves us helpless in front of an application giving XML as a plain old string. Because low level API (DOM, XPath) — focused on document structure — are tedious, major JAX-RS implementation (Jersey, CXF) have chosen the same high level API — focused on data —: JAXB. Let’s do the same.

(more…)

Share

Tags: Data Binding, DOM, JAX-RS, jaxb, XML, xpath, XSD
Filed under Java, Tools | No Comments »


Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India
  • Xebia Sweden

Categories

  • Java (311)
  • Agile (181)
  • General (136)
  • Scrum (67)
  • Architecture (64)
  • Testing (59)
  • Performance (46)
  • Middleware (56)
    • Deployment (38)
  • Xebia Labs (39)
  • SOA (31)
  • Podcast (31)
  • Project Management (28)
  • Tools (26)
  • Uncategorized (20)
  • lean architecture (20)
  • Quality Assurance (17)
  • Articles (13)
  • Requirements Management (13)
  • Virtualization (19)

Tag Cloud

    Frameworks Xebia lean architectuur TDD Concurrency Control Spring JPA implementation patterns Agile lean architecture Hibernate Architecture agile architectuur Lean Javascript ACT Java Moving to India SOA Oracle product owner Flex Maven Scala Ajax JPA XML Groovy Grails Scrum Eclipse

Archives

  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
Avatars by Sterling Adventures