org.rhq.enterprise.server.auth.prefs
Class SubjectPreferencesCache
java.lang.Object
org.rhq.enterprise.server.auth.prefs.SubjectPreferencesCache
public class SubjectPreferencesCache
- extends Object
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
getInstance
public static SubjectPreferencesCache getInstance()
getUserProperty
public org.rhq.core.domain.configuration.PropertySimple getUserProperty(int subjectId,
String propertyName)
setUserProperty
public void setUserProperty(int subjectId,
String propertyName,
String value)
unsetUserProperty
public void unsetUserProperty(int subjectId,
String propertyName)
getPreferences
public org.rhq.core.domain.configuration.Configuration getPreferences(int subjectId)
- Parameters:
subjectId - the subject to get preferences of
- Returns:
- the COPY of the configuration object - changes done to that instance will not be reflected in the persisted
preferences
clearConfiguration
public void clearConfiguration(int subjectId)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.