/** * The ID of the Repository at the remote Sesame HTTP host. * * Default: qi4j * * @return The configured ID at the remote Sesame HTTP host. */ @Optional Property<String> repositoryId(); }
/** * Alias of the {@link SecureJettyService} certificate. * * If not set, the first certificate found in the keystore is used. * * @return Alias of the {@link SecureJettyService} certificate. */ @Optional Property<String> certAlias();
/** * If SSL Session caching is enabled. * * SSL Session caching is enabled by default. * * @return If SSL Session caching is enabled. */ @Optional Property<Boolean> cacheSslSessions();
/** * @return If {@link JettyService} expose it's implementation version. */ @Optional Property<Boolean> sendServerVersion();
/** * Defaulted to Boolean.TRUE */ @Optional Property<Boolean> insertProviderOnActivate();
/** * @return Path of the keystore that contains the certificates trusted by the {@link SecureJettyService}. */ @Optional Property<String> truststorePath();
/** * @return The path of a local CRL file in PEM or DER format used during PKIX validations. */ @Optional Property<String> crlFilePath();
/** * @return If {@link JettyService} populates http header with server date. */ @Optional Property<Boolean> sendDateHeader();
X509Profile create( String name, Integer validityDays, @Optional String comment, @Optional KeyUsagesValue keyUsages, @Optional ExtendedKeyUsagesValue extendedKeyUsages, @Optional NetscapeCertTypesValue netscapeCertTypes, @Optional BasicConstraintsValue basicConstraints, @Optional NameConstraintsValue nameConstraints );
public X509Profile createX509Profile( String name, Integer validityDays, @Optional String comment, @Optional KeyUsagesValue keyUsages, @Optional ExtendedKeyUsagesValue extendedKeyUsages, @Optional NetscapeCertTypesValue netscapeCertTypes, @Optional BasicConstraintsValue basicConstraints, @Optional NameConstraintsValue nameConstraints ) { return context.role( X509ProfileFactory.class ).create( name, validityDays, comment, keyUsages, extendedKeyUsages, netscapeCertTypes, basicConstraints, nameConstraints ); }
/** * @return Type of the keystore that contains the certificates trusted by the {@link SecureJettyService}. */ @Optional @OneOf( { "PKCS12", "JCEKS", "JKS" } ) Property<String> truststoreType();
/** * @return The size of the buffer to be used for request headers in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> requestHeaderSize();
/** * @return The size of the buffer to be used for response headers in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> responseHeaderSize();
/** * @return Maximum Form content size. */ @Optional @GreaterThan( 0 ) Property<Integer> maxFormContentSize();
/** * Maximum number of intermediate certificates in the PKIX path. * * Set to -1 for unlimited. Defaulted to -1. * * @return Maximum number of intermediate certificates in the PKIX path */ @Optional @GreaterThan( -2 ) Property<Integer> maxCertPathLength();
/** * Timeout use to wait for active requests to terminate on shutdown in milliseconds. * * Jetty will stop gracefully only if this property is set. * * @return Timeout use to wait for active requests to terminate on shutdown in milliseconds. */ @Optional @GreaterThan( 0 ) Property<Integer> gracefullShutdownTimeout();
/** * @return The base api url used by clients, autodetected if empty. */ @URL @Optional Property<String> clientBaseUrl();
public RootCA createRootCA( String cryptoStoreIdentity, String name, int validityDays, @X500Name String distinguishedName, KeyPairSpecValue keySpec, @Optional List<String> crlDistPoints ) { if ( crlDistPoints == null ) { crlDistPoints = Collections.emptyList(); } CryptoStore cryptoStore = context.role( CryptoStoreRepository.class ).findByIdentity( cryptoStoreIdentity ); return context.role( CAFactory.class ).createRootCA( name, validityDays, new DistinguishedName( distinguishedName ), keySpec, cryptoStore, crlDistPoints.toArray( new String[]{} ) ); }
public JettyMixin( @This Identity meAsIdentity, @Service Server jettyServer, @Service Iterable<ServiceReference<ServletContextListener>> contextListeners, @Service Iterable<ServiceReference<Servlet>> servlets, @Service Iterable<ServiceReference<Filter>> filters, @Optional @Service MBeanServer mBeanServer ) { super( meAsIdentity.identity().get(), jettyServer, contextListeners, servlets, filters, mBeanServer ); }
public SecureJettyMixin( @This Identity meAsIdentity, @Service Server jettyServer, @Service Iterable<ServiceReference<ServletContextListener>> contextListeners, @Service Iterable<ServiceReference<Servlet>> servlets, @Service Iterable<ServiceReference<Filter>> filters, @Optional @Service MBeanServer mBeanServer ) { super( meAsIdentity.identity().get(), jettyServer, contextListeners, servlets, filters, mBeanServer ); }