public abstract class AbstractFileBasedMetadataProvider<T> extends AbstractMetadataProvider implements IMetadataProvider<T>
Base implementation of IMetadataProvider
, which provides common functionality for other
implementations.
Modifier and Type | Field and Description |
---|---|
static String |
FILENAME_KEY |
protected static PicketLinkLogger |
logger |
protected InputStream |
metadataFileStream |
options
Constructor and Description |
---|
AbstractFileBasedMetadataProvider() |
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,String> options)
Initialize the provider with options
|
void |
injectEncryptionKey(PublicKey publicKey)
Inject a public key used for encryption
|
void |
injectFileStream(InputStream fileStream)
Inject a File instance depending on
|
void |
injectSigningKey(PublicKey publicKey)
Inject a public key used for signing
|
String |
requireFileInjection()
Provider indicates that it requires an injection of File instance
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetaData, isMultiple
protected static final PicketLinkLogger logger
public static final String FILENAME_KEY
protected InputStream metadataFileStream
public void init(Map<String,String> options)
IMetadataProvider
init
in interface IMetadataProvider<T>
init
in class AbstractMetadataProvider
IMetadataProvider#init(Map)
public void injectEncryptionKey(PublicKey publicKey)
IMetadataProvider
injectEncryptionKey
in interface IMetadataProvider<T>
public void injectFileStream(InputStream fileStream)
IMetadataProvider
injectFileStream
in interface IMetadataProvider<T>
method
public void injectSigningKey(PublicKey publicKey)
IMetadataProvider
injectSigningKey
in interface IMetadataProvider<T>
public String requireFileInjection()
IMetadataProvider
requireFileInjection
in interface IMetadataProvider<T>
Copyright © 2016 JBoss by Red Hat. All rights reserved.