public class FileSecurityStore extends java.lang.Object implements SecurityStore
security.xml file in the runtime config directory.| Constructor and Description |
|---|
FileSecurityStore(org.fabric3.spi.xml.XMLFactory xmlFactory,
org.fabric3.api.host.runtime.HostInfo info) |
| Modifier and Type | Method and Description |
|---|---|
org.fabric3.spi.security.BasicSecuritySubject |
find(java.lang.String username)
Looks up a subject based on user name
|
void |
init() |
void |
setSecurityConfiguration(javax.xml.stream.XMLStreamReader reader) |
public FileSecurityStore(org.fabric3.spi.xml.XMLFactory xmlFactory,
org.fabric3.api.host.runtime.HostInfo info)
public void setSecurityConfiguration(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException,
org.fabric3.api.host.contribution.StoreException
javax.xml.stream.XMLStreamExceptionorg.fabric3.api.host.contribution.StoreExceptionpublic void init()
throws java.io.FileNotFoundException,
javax.xml.stream.XMLStreamException,
org.fabric3.api.host.contribution.StoreException
java.io.FileNotFoundExceptionjavax.xml.stream.XMLStreamExceptionorg.fabric3.api.host.contribution.StoreExceptionpublic org.fabric3.spi.security.BasicSecuritySubject find(java.lang.String username)
throws SecurityStoreException
SecurityStorefind in interface SecurityStoreusername - the user nameSecurityStoreException - if an error occurs performing the lookup