com.day.cq.security.impl
Class SecurityAdapterFactory

java.lang.Object
  extended by com.day.cq.security.impl.SecurityAdapterFactory
All Implemented Interfaces:
org.apache.sling.api.adapter.AdapterFactory

public class SecurityAdapterFactory
extends Object
implements org.apache.sling.api.adapter.AdapterFactory

Adapts ResourceResolver or CRXSession to

And the Authorizable to its Home Directory


Field Summary
 
Fields inherited from interface org.apache.sling.api.adapter.AdapterFactory
SERVICE_NAME
 
Constructor Summary
SecurityAdapterFactory()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
protected  void deactivate(org.osgi.service.component.ComponentContext context)
           
<AdapterType>
AdapterType
getAdapter(Object adaptable, Class<AdapterType> type)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityAdapterFactory

public SecurityAdapterFactory()
Method Detail

getAdapter

public <AdapterType> AdapterType getAdapter(Object adaptable,
                                            Class<AdapterType> type)

Specified by:
getAdapter in interface org.apache.sling.api.adapter.AdapterFactory

activate

protected void activate(org.osgi.service.component.ComponentContext context)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext context)


Copyright © 2008 Day Management AG. All Rights Reserved.