|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.portal.profile.impl.AbstractProfileManager
org.apache.cocoon.portal.profile.impl.AbstractUserProfileManager
org.apache.cocoon.portal.profile.impl.AuthenticationProfileManager
GroupBasedProfileManager
public class AuthenticationProfileManager
The profile manager using the authentication framework
Nested Class Summary | |
---|---|
protected static class |
AuthenticationProfileManager.User
Deprecated. |
Field Summary | |
---|---|
protected Map |
attributes
Deprecated. |
protected org.apache.cocoon.portal.profile.impl.AuthenticationProfileManager.ReadWriteLock |
lock
Deprecated. |
Fields inherited from class org.apache.cocoon.portal.profile.impl.AbstractProfileManager |
---|
manager |
Fields inherited from interface org.apache.cocoon.portal.profile.ProfileManager |
---|
ROLE |
Constructor Summary | |
---|---|
AuthenticationProfileManager()
Deprecated. |
Method Summary | |
---|---|
protected Map |
buildKey(PortalService service,
Map parameters,
String layoutKey,
boolean load)
Deprecated. |
protected Object |
checkValidity(Object key,
Map parameters,
boolean forcedLoad,
ProfileLS adapter)
Deprecated. If the profile is valid itself is returned, otherwise a newly created SourceValidity object is returned. |
protected Object |
getDeltaProfile(String layoutKey,
Map parameters,
PortalService service,
Object factory,
boolean forcedLoad)
Deprecated. Gets a profile and applies possible user and role deltas to it. |
protected Object |
getOrCreateProfile(String layoutKey,
Map parameters,
PortalService service,
Object factory)
Deprecated. Gets a user profile and creates it by copying the role or the global profile. |
protected Object[] |
getProfile(String layoutKey,
Map parameters,
Object factory,
boolean forcedLoad,
PortalService service)
Deprecated. Gets a profile. |
protected RequestState |
getRequestState()
Deprecated. Get the current authentication state of the user |
PortalUser |
getUser()
Deprecated. Get current user information |
protected Object |
loadProfile(Object key,
Map map,
Object factory)
Deprecated. Loads a profile. |
protected Layout |
loadProfile(String layoutKey,
PortalService service,
CopletFactory copletFactory,
LayoutFactory layoutFactory,
ServiceSelector adapterSelector)
Deprecated. This loads a new profile |
void |
saveUserCopletInstanceDatas(String layoutKey)
Deprecated. Save the coplet instance data |
void |
saveUserLayout(String layoutKey)
Deprecated. Save the layout |
Methods inherited from class org.apache.cocoon.portal.profile.impl.AbstractUserProfileManager |
---|
cacheLayouts, getCopletData, getCopletDatas, getCopletInstanceData, getCopletInstanceData, getCopletInstanceDatas, getPortalLayout, login, logout, prepareObject, register, register, storeProfile, unregister, unregister |
Methods inherited from class org.apache.cocoon.portal.profile.impl.AbstractProfileManager |
---|
saveUserProfiles, service |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.cocoon.portal.profile.impl.AuthenticationProfileManager.ReadWriteLock lock
protected Map attributes
Constructor Detail |
---|
public AuthenticationProfileManager()
Method Detail |
---|
protected RequestState getRequestState()
protected Layout loadProfile(String layoutKey, PortalService service, CopletFactory copletFactory, LayoutFactory layoutFactory, ServiceSelector adapterSelector) throws Exception
loadProfile
in class AbstractUserProfileManager
Exception
public void saveUserCopletInstanceDatas(String layoutKey)
ProfileManager
saveUserCopletInstanceDatas
in interface ProfileManager
saveUserCopletInstanceDatas
in class AbstractProfileManager
public void saveUserLayout(String layoutKey)
ProfileManager
saveUserLayout
in interface ProfileManager
saveUserLayout
in class AbstractProfileManager
protected Object getDeltaProfile(String layoutKey, Map parameters, PortalService service, Object factory, boolean forcedLoad) throws Exception
Exception
protected Object getOrCreateProfile(String layoutKey, Map parameters, PortalService service, Object factory) throws Exception
Exception
protected Object[] getProfile(String layoutKey, Map parameters, Object factory, boolean forcedLoad, PortalService service) throws Exception
Exception
protected Object checkValidity(Object key, Map parameters, boolean forcedLoad, ProfileLS adapter)
protected Object loadProfile(Object key, Map map, Object factory) throws Exception
Exception
protected Map buildKey(PortalService service, Map parameters, String layoutKey, boolean load) throws ProcessingException, ConfigurationException
ProcessingException
ConfigurationException
public PortalUser getUser()
ProfileManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |