public abstract class ToPolicyConverterAbstract<T> extends Object implements ToPolicyConverter<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ToPolicyConverterAbstract.TypePSAToCreate |
| Constructor and Description |
|---|
ToPolicyConverterAbstract() |
public abstract PolicySpecification convertToPolicy(T t) throws Exception
convertToPolicy in interface ToPolicyConverter<T>Exceptionprotected <S> ToPolicyConverterAbstract.TypePSAToCreate shouldCreateAttribute(S source, Function<S,AttributeLockable> sourceGetter)
protected <N,P> N getNestedObject(P parent,
Function<P,N> getter,
BiConsumer<P,N> setter,
Class<N> clazz)
throws Exception
Exceptionprotected Policy getPolicyFromPolicySpecification(PolicySpecification policySpecification) throws Exception
Exceptionprotected Subject getSubjectFromPolicy(Policy policy) throws Exception
Exceptionprotected Subject getSubjectFromPolicySpecification(PolicySpecification policySpecification) throws Exception
Exceptionprotected KeyPair getKeyPairFromPolicy(Policy policy) throws Exception
Exceptionprotected KeyPair getKeyPairFromPolicySpecification(PolicySpecification policySpecification) throws Exception
Exceptionprotected SubjectAltNames getSubjectAltNamesFromPolicy(Policy policy) throws Exception
Exceptionprotected SubjectAltNames getSubjectAltNamesFromPolicySpecification(PolicySpecification policySpecification) throws Exception
Exceptionprotected Defaults getDefaultsFromPolicySpecification(PolicySpecification policySpecification) throws Exception
Exceptionprotected DefaultsSubject getSubjectFromDefaults(Defaults defaults) throws Exception
Exceptionprotected DefaultsSubject getDefaultsSubjectFromPolicySpecification(PolicySpecification policySpecification) throws Exception
Exceptionprotected DefaultsKeyPair getKeyPairFromDefaults(Defaults defaults) throws Exception
Exceptionprotected DefaultsKeyPair getDefaultsKeyPairFromPolicySpecification(PolicySpecification policySpecification) throws Exception
ExceptionCopyright © 2021. All rights reserved.