public class CacheElement extends Object
| Constructor and Description |
|---|
CacheElement(String userid,
String cacheid,
String cacheabbrev)
Create a new cache element with the given userid.
|
| Modifier and Type | Method and Description |
|---|---|
void |
audit() |
Boolean |
authenticate(Cache cache,
String pwd)
If in the valid state and not expired:
If authenticated and given password is instance password, return true.
|
String |
getInstanceId() |
Map |
getNamedValues(Cache cache,
String pwd) |
String |
getUserid()
Gets the user id associated with this cache element.
|
void |
populate(Boolean authenticated,
Set predicates,
Map namedValues,
String errorMessage)
Populates this cache element with the given authenticated state
and named values, then puts it in the valid state.
|
public String getUserid()
public final void populate(Boolean authenticated, Set predicates, Map namedValues, String errorMessage)
public final Boolean authenticate(Cache cache, String pwd)
public String getInstanceId()
public final void audit()
Copyright © 2013 DuraSpace. All Rights Reserved.