com.sapportals.wcm.service.indexmanagement

Class DefaultIMSecurityManager

java.lang.Object
  extended by com.sapportals.wcm.service.indexmanagement.DefaultIMSecurityManager
Direct Known Subclasses:
TestIMSecurityManager

public class DefaultIMSecurityManager
extends Object

Implementing a subclass of this security manager enables the usage of a hidden index together with its own security manager used to check the accessibility of search results from the hidden index. This feature was never released.


Constructor Summary
DefaultIMSecurityManager()
           
DefaultIMSecurityManager(AbstractIndex index)
          has to be implemented the following way public TestIMSecurityManager(AbstractIndex index){ super(index); }
 
Method Summary
 IRidList checkRids(IRidList ridList, IResourceContext context)
          Here you can define your security checker.
 AbstractIndex getIndex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIMSecurityManager

public DefaultIMSecurityManager()

DefaultIMSecurityManager

public DefaultIMSecurityManager(AbstractIndex index)
has to be implemented the following way public TestIMSecurityManager(AbstractIndex index){ super(index); }

Parameters:
index -
Method Detail

checkRids

public IRidList checkRids(IRidList ridList,
                          IResourceContext context)
                   throws ResourceException
Here you can define your security checker.

Parameters:
ridList -
context -
Returns:
only rids, which are allowed to be seen by the user.
Throws:
ResourceException

getIndex

public AbstractIndex getIndex()
Returns:
abstract index
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice