public class GlobalACLImportHandler extends ACLImportHandler<Publication>
AbstractImportHandler.ProviderStub
ImportHandler.State
mDefaultSection, mDefaultUser, mImportConfiguration, mLogger, mProvider, mSAXConfiguration
DEFAULT_NAMESPACE, UNKNOWN_FIELD_NAMESPACE
Constructor and Description |
---|
GlobalACLImportHandler(ImportHandlerSpi pProvider,
XMLImportConfiguration pImportConfiguration,
SAXConfiguration pSAXConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected ProtectionDomain |
getProtectionDomain(Publication pPublication,
neo.xredsys.acl.Role pRole) |
protected Publication |
resolveACLObject(Attributes pAttributes) |
protected String |
rewriteRole(String pRoleName)
Makes it possible to rewrite the role before asking the database for the given role.
|
createChildHandlers, handleEndElement, handleStartElement
characters, cleanup, endElement, endElement, error, fatalError, getAPI, getMessageHandler, getState, getSystemId, handleCharacters, info, isAborted, onChildHandlerCompleted, rollback, setState, startElement, startElement, subclassAcceptsChildElements, supportsCharacters, supportsElement, toTimestamp, warning
endDocument, endPrefixMapping, getLocator, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
public GlobalACLImportHandler(ImportHandlerSpi pProvider, XMLImportConfiguration pImportConfiguration, SAXConfiguration pSAXConfiguration)
protected ProtectionDomain getProtectionDomain(Publication pPublication, neo.xredsys.acl.Role pRole)
getProtectionDomain
in class ACLImportHandler<Publication>
protected String rewriteRole(String pRoleName)
ACLImportHandler
rewriteRole
in class ACLImportHandler<Publication>
pRoleName
- the name of the roleprotected Publication resolveACLObject(Attributes pAttributes) throws SAXException
resolveACLObject
in class ACLImportHandler<Publication>
SAXException
© 1998- 2018 Stibo DX