| Modifier and Type | Field and Description |
|---|---|
| public static final SecurityHandlerFactory | INSTANCE
Singleton instance |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private SecurityHandler | newSecurityHandler(Class<? extends SecurityHandler<T_POLICY extends ProtectionPolicy>> handlerClass, Class<?>[] argsClasses, Object[] args)
|
| public SecurityHandler | Returns: a new SecurityHandler instance, or null if none is availablethe Filter name from the PDF encryption dictionary name)Returns a new security handler for the given Filter name, or null none is available. |
| public SecurityHandler | Returns: a new SecurityHandler instance, or null if none is availablethe protection policy for which to create a security handler policy)Returns a new security handler for the given protection policy, or null none is available. |
| public void | registerHandler(String
the name of the filter name, Class<? extends SecurityHandler<T_POLICY extends ProtectionPolicy>> security handler class to register securityHandler, Class<? extends ProtectionPolicy> protection policy class to register protectionPolicy)Registers a security handler. |
| INSTANCE | back to summary |
|---|---|
| public static final SecurityHandlerFactory INSTANCE Singleton instance | |
| nameToHandler | back to summary |
|---|---|
| private final Map<String, Class<? extends SecurityHandler<T_POLICY extends ProtectionPolicy>>> nameToHandler | |
| policyToHandler | back to summary |
|---|---|
| private final Map<Class<? extends ProtectionPolicy>, Class<? extends SecurityHandler<T_POLICY extends ProtectionPolicy>>> policyToHandler | |
| SecurityHandlerFactory | back to summary |
|---|---|
| private SecurityHandlerFactory() | |
| newSecurityHandler | back to summary |
|---|---|
| private SecurityHandler | |
| newSecurityHandlerForFilter | back to summary |
|---|---|
| public SecurityHandler Returns a new security handler for the given Filter name, or null none is available.
| |
| newSecurityHandlerForPolicy | back to summary |
|---|---|
| public SecurityHandler Returns a new security handler for the given protection policy, or null none is available.
| |
| registerHandler | back to summary |
|---|---|
| public void registerHandler(String name, Class<? extends SecurityHandler<T_POLICY extends ProtectionPolicy>> securityHandler, Class<? extends ProtectionPolicy> protectionPolicy) Registers a security handler. If the security handler was already registered an exception is thrown. If another handler was previously registered for the same filter name or for the same policy name, an exception is thrown
| |