org.openpermis.subject.norm
Class BasicSubjectIdentityNormalizer

java.lang.Object
  extended by org.openpermis.subject.norm.BasicSubjectIdentityNormalizer
All Implemented Interfaces:
SubjectIdentityNormalizer

public class BasicSubjectIdentityNormalizer
extends Object
implements SubjectIdentityNormalizer

Basic subject identity normalizer that takes only the path part of an URI and changes all characters to lower case.

Since:
0.9.0

Constructor Summary
BasicSubjectIdentityNormalizer()
           
 
Method Summary
 URI normalize(URI identity)
          Normalize the specified identity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicSubjectIdentityNormalizer

public BasicSubjectIdentityNormalizer()
Method Detail

normalize

public URI normalize(URI identity)
Description copied from interface: SubjectIdentityNormalizer
Normalize the specified identity.

In case that identity is null or could not be normalized, identity is returned.

Specified by:
normalize in interface SubjectIdentityNormalizer
Parameters:
identity - to normalize.
Returns:
the normalized identity.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG