| Package | Description |
|---|---|
| net.shibboleth.utilities.java.support.codec |
A set of helper functions for encoding/decoding data to/from different formats.
|
| net.shibboleth.utilities.java.support.component |
Set of interfaces used to describe basic features of "components" or "modules" within a larger system.
|
| net.shibboleth.utilities.java.support.httpclient |
Classes for working with
Apache HttpClient.
|
| net.shibboleth.utilities.java.support.logic |
Classes that represent basic first order logic concepts.
|
| net.shibboleth.utilities.java.support.net |
Classes for working with HTTP URLs and the protocol.
|
| net.shibboleth.utilities.java.support.scripting |
Classes for working with JSR-223 scripting environments.
|
| net.shibboleth.utilities.java.support.security |
Helpers for common security related tasks.
|
| net.shibboleth.utilities.java.support.service |
Service support for Shibbleth projects.
A service is something reloads instances of serviceable components. |
| net.shibboleth.utilities.java.support.velocity |
Classes for working with Apache Velocity.
|
| net.shibboleth.utilities.java.support.xml |
A set of helper functions for performing actions on DOM nodes.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
StringDigester.digestAlgorithm
The message digest algorithm to use.
|
| Constructor and Description |
|---|
StringDigester(java.lang.String algorithm,
StringDigester.OutputFormat format)
Constructor.
|
StringDigester(java.lang.String algorithm,
StringDigester.OutputFormat format,
java.nio.charset.Charset charset)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractIdentifiableInitializableComponent.setId(java.lang.String componentId)
Sets the ID of this component.
|
protected void |
AbstractIdentifiedInitializableComponent.setId(java.lang.String componentId)
Sets the ID of this component.
|
void |
IdentifiableComponent.setId(java.lang.String componentId)
Set the ID of this component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileCachingHttpClientBuilder.setCacheDirectory(java.lang.String directoryPath)
Sets the directory in which cached content will be stored.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
TrimOrNullStringFunction.apply(java.lang.String input) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
SimpleURLCanonicalizer.canonicalize(java.lang.String url)
Canonicalize the supplied URL.
|
private java.lang.String |
CookieManager.contextPathToCookiePath()
Turn the servlet context path into an appropriate cookie path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CookieManager.addCookie(java.lang.String name,
java.lang.String value)
Add a cookie with the specified name and value.
|
void |
CookieManager.addCookie(java.lang.String name,
java.lang.String value)
Add a cookie with the specified name and value.
|
static java.lang.String |
SimpleURLCanonicalizer.canonicalize(java.lang.String url)
Canonicalize the supplied URL.
|
static java.lang.Integer |
SimpleURLCanonicalizer.getRegisteredPort(java.lang.String scheme)
Obtain the default port registered for a scheme.
|
static void |
SimpleURLCanonicalizer.registerSchemePortMapping(java.lang.String scheme,
java.lang.Integer port)
Register a new scheme-to-port mapping.
|
void |
CookieManager.unsetCookie(java.lang.String name)
Unsets a cookie with the specified name.
|
| Constructor and Description |
|---|
URLBuilder(java.lang.String baseURL)
Constructor.
|
| Constructor and Description |
|---|
EvaluableScript(java.lang.String scriptSource)
Constructor.
|
EvaluableScript(java.lang.String engineName,
java.io.File scriptSource)
Constructor.
|
EvaluableScript(java.lang.String engineName,
java.lang.String scriptSource)
Constructor.
|
EvaluableScript(java.lang.String engineName,
java.lang.String scriptSource)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.CERT_ALG
Certificate algorithm.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.CERT_FILE
Path to certificate file to create.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.CERT_LIFETIME
Certificate lifetime.
|
private java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.certAlg
Certificate algorithm.
|
static java.lang.String |
BasicKeystoreKeyStrategy.CURRENT_VERSION_PROP
Name of property representing current key version.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.DNS_ALTNAMES
DNS subjectAltNames.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.HELP
Display command usage.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.HELP
Display command usage.
|
private java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.hostname
Hostname.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.HOSTNAME
Hostname for cert subject.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.KEY_ALIAS
Key alias base.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.KEY_COUNT
Number of keys to maintain.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.KEY_FILE
Path to private key file to create.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.KEY_SIZE
Key size.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.KEY_SIZE
Key size.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.KEY_TYPE
Key algorithm.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.KEY_TYPE
Key algorithm.
|
private java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.keystoreType
Keystore type.
|
private java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.keystoreType
Keystore type.
|
private java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.keyType
Key algorithm.
|
private java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.keyType
Key algorithm.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.STORE_FILE
Path to keystore to create.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.STORE_FILE
Path to keystore to create.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.STORE_PASS
Keystore password.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.STORE_PASS
Keystore password.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.STORE_TYPE
Type of keystore to create.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.STORE_TYPE
Type of keystore to create.
|
static java.lang.String |
SelfSignedCertificateGenerator.CommandLineArgs.URI_ALTNAMES
URI subjectAltNames.
|
static java.lang.String |
BasicKeystoreKeyStrategyTool.CommandLineArgs.VERSION_FILE
Path to key versioning file.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
DataSealer.extractAndCheckDecryptedData(byte[] decryptedBytes)
Extract the GZIP'd data and test for expiration before returning it.
|
javax.crypto.SecretKey |
BasicKeystoreKeyStrategy.getKey(java.lang.String name)
Get a specifically named key.
|
javax.crypto.SecretKey |
DataSealerKeyStrategy.getKey(java.lang.String name)
Get a specifically named key.
|
void |
SelfSignedCertificateGenerator.setCertificateAlg(java.lang.String alg)
Set the certificate algorithm that will be used.
|
void |
SelfSignedCertificateGenerator.setHostName(java.lang.String name)
Set the hostname that will appear in the certificate's DN.
|
void |
BasicKeystoreKeyStrategyTool.setKeyAlias(java.lang.String alias)
Set the encryption key alias base name.
|
void |
BasicKeystoreKeyStrategy.setKeyAlias(java.lang.String alias)
Set the encryption key alias base name.
|
void |
BasicKeystoreKeyStrategy.setKeyPassword(java.lang.String password)
Set the encryption key password.
|
void |
BasicKeystoreKeyStrategy.setKeystorePassword(java.lang.String password)
Set the keystore password.
|
void |
BasicKeystoreKeyStrategy.setKeystoreResource(Resource resource)
Set the keystore resource.
|
void |
BasicKeystoreKeyStrategyTool.setKeystoreType(java.lang.String type)
Set the type of keystore to create.
|
void |
BasicKeystoreKeyStrategy.setKeystoreType(java.lang.String type)
Set the keystore type.
|
void |
SelfSignedCertificateGenerator.setKeystoreType(java.lang.String type)
Set the type of keystore to create.
|
void |
BasicKeystoreKeyStrategyTool.setKeyType(java.lang.String type)
Set the type of key that will be generated.
|
void |
SelfSignedCertificateGenerator.setKeyType(java.lang.String type)
Set the type of key that will be generated.
|
void |
BasicKeystoreKeyStrategy.setKeyVersionResource(Resource resource)
Set the key version resource.
|
java.lang.String |
DataSealer.unwrap(java.lang.String wrapped)
Decrypts and verifies an encrypted bundle created with
DataSealer.wrap(String, long). |
java.lang.String |
DataSealer.unwrap(java.lang.String wrapped,
java.lang.StringBuffer keyUsed)
Decrypts and verifies an encrypted bundle created with
DataSealer.wrap(String, long), optionally
returning the label of the key used to encrypt the data. |
java.lang.String |
DataSealer.wrap(java.lang.String data,
long exp)
Encodes data into an AEAD-encrypted blob, gzip(exp|data)
exp = expiration time of the data; 8 bytes; Big-endian
data = the data; a UTF-8-encoded string
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
AbstractReloadableService.getLogPrefix()
Return a string which is to be prepended to all log messages.
|
| Modifier and Type | Method and Description |
|---|---|
static Template |
Template.fromTemplate(org.apache.velocity.app.VelocityEngine engine,
java.lang.String template)
A convenience method that invoked
Template.fromTemplate(VelocityEngine, String, Charset) and assumes the given
template is US ASCII encoded. |
static Template |
Template.fromTemplate(org.apache.velocity.app.VelocityEngine engine,
java.lang.String template,
java.nio.charset.Charset encoding)
Constructs a
Template from a given template. |
static Template |
Template.fromTemplateName(org.apache.velocity.app.VelocityEngine engine,
java.lang.String templateName)
A convenience method that invoked
Template.fromTemplateName(VelocityEngine, String, Charset) and assumes the
named template is US ASCII encoded. |
static Template |
Template.fromTemplateName(org.apache.velocity.app.VelocityEngine engine,
java.lang.String name,
java.nio.charset.Charset encoding)
Constructs a
Template that evaluates a named velocity template with a using the given velocity engine. |
| Constructor and Description |
|---|
Template(org.apache.velocity.app.VelocityEngine velocityEngine,
java.lang.String velocityTemplateName,
java.lang.String velocityTemplateEncoding)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static javax.xml.namespace.QName |
QNameSupport.constructQName(org.w3c.dom.Element owningElement,
java.lang.String qname)
Constructs a QName from a string (attribute or element content) value.
|
static javax.xml.namespace.QName |
QNameSupport.constructQName(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String prefix)
Constructs a QName.
|
void |
SchemaBuilder.setFeature(java.lang.String name,
boolean value)
Set a feature for the
SchemaFactory to be built. |
void |
SchemaBuilder.setProperty(java.lang.String name,
java.lang.Object object)
Set the value of a property for the
SchemaFactory to be built. |
| Constructor and Description |
|---|
SchemaLanguage(java.lang.String uri)
Constructor.
|