com.opensymphony.user.provider.orion
Class OrionProvider

java.lang.Object
  extended bycom.opensymphony.user.provider.orion.OrionProvider
All Implemented Interfaces:
java.io.Serializable, UserProvider
Direct Known Subclasses:
OrionAccessProvider, OrionCredentialsProvider

public abstract class OrionProvider
extends java.lang.Object
implements UserProvider

See Also:
Serialized Form

Field Summary
protected  com.evermind.security.RoleManager roleManager
           
protected  com.evermind.security.UserManager userManager
           
 
Constructor Summary
OrionProvider()
           
 
Method Summary
 void flushCaches()
          Flush the providers caches - if it is caching.
 boolean init(java.util.Properties properties)
          Called by UserManager before any other method.
 boolean load(java.lang.String name, Entity.Accessor accessor)
          Load Entity.
 boolean store(java.lang.String name, Entity.Accessor accessor)
          Stores changes to Entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.user.provider.UserProvider
create, handles, list, remove
 

Field Detail

roleManager

protected transient com.evermind.security.RoleManager roleManager

userManager

protected transient com.evermind.security.UserManager userManager
Constructor Detail

OrionProvider

public OrionProvider()
Method Detail

flushCaches

public void flushCaches()
Description copied from interface: UserProvider
Flush the providers caches - if it is caching. Providers may implement their own caching strategies. This method merely indicates to the provider that it should flush it's caches now.

Specified by:
flushCaches in interface UserProvider

init

public boolean init(java.util.Properties properties)
Description copied from interface: UserProvider
Called by UserManager before any other method. Allows for UserProvider specific initialization.

Specified by:
init in interface UserProvider
Parameters:
properties - Extra properties passed across by UserManager.

load

public boolean load(java.lang.String name,
                    Entity.Accessor accessor)
Description copied from interface: UserProvider
Load Entity.

Specified by:
load in interface UserProvider
Returns:
Whether entity was successfully loaded.

store

public boolean store(java.lang.String name,
                     Entity.Accessor accessor)
Description copied from interface: UserProvider
Stores changes to Entity.

Specified by:
store in interface UserProvider
Returns:
Whether changes to entity were successfully stored.

See www.opensymphony.com for more information.