org.ow2.shelbie.core.internal.history
Class DefaultIdentityProvider
java.lang.Object
org.ow2.shelbie.core.internal.history.DefaultIdentityProvider
- All Implemented Interfaces:
- org.ow2.shelbie.core.identity.IdentityProvider
public class DefaultIdentityProvider
- extends Object
- implements org.ow2.shelbie.core.identity.IdentityProvider
The default IdentityProvider implements a generic extraction strategy:
If the Subject contains only 1 Principal (not a Group),
it will return that Principal's name.
It will throw an Exception if there is not only one mono-valued Principal.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultIdentityProvider
public DefaultIdentityProvider()
get
public String get(Subject subject)
- Specified by:
get in interface org.ow2.shelbie.core.identity.IdentityProvider
Copyright © 2013 OW2 Consortium. All Rights Reserved.