Package org.certificateservices.messages
Class ContextMessageSecurityProvider.Context
- java.lang.Object
-
- org.certificateservices.messages.ContextMessageSecurityProvider.Context
-
- Enclosing interface:
- ContextMessageSecurityProvider
public static class ContextMessageSecurityProvider.Context extends java.lang.ObjectClass representing a context in which a ContextMessageSecurityProvider should determine keys and validation logic to return.
-
-
Constructor Summary
Constructors Constructor Description Context(java.lang.String usage)Class representing a context in which a ContextMessageSecurityProvider should determine keys and validation logic to return.Context(java.lang.String usage, java.lang.String relatedOrganisation)Class representing a context in which a ContextMessageSecurityProvider should determine keys and validation logic to return.Context(java.lang.String usage, java.lang.String relatedOrganisation, java.util.Map<java.lang.String,java.lang.Object> properties)Class representing a context in which a ContextMessageSecurityProvider should determine keys and validation logic to return.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Map<java.lang.String,java.lang.Object>getProperties()java.lang.StringgetRelatedOrganisation()java.lang.StringgetUsage()inthashCode()voidsetProperties(java.util.Map<java.lang.String,java.lang.Object> properties)voidsetRelatedOrganisation(java.lang.String relatedOrganisation)voidsetUsage(java.lang.String usage)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Context
public Context(java.lang.String usage)
Class representing a context in which a ContextMessageSecurityProvider should determine keys and validation logic to return.- Parameters:
usage- the usage, available usages is up to the calling application and provider implementation to define, null for default. (For instance in a SAML application could one usage be IDP Signer and another be MetaData Signer).
-
Context
public Context(java.lang.String usage, java.lang.String relatedOrganisation)Class representing a context in which a ContextMessageSecurityProvider should determine keys and validation logic to return.- Parameters:
usage- the usage, available usages is up to the calling application and provider implementation to define, null for default. (For instance in a SAML application could one usage be IDP Signer and another be MetaData Signer).relatedOrganisation- the related organisation, null for default.
-
Context
public Context(java.lang.String usage, java.lang.String relatedOrganisation, java.util.Map<java.lang.String,java.lang.Object> properties)Class representing a context in which a ContextMessageSecurityProvider should determine keys and validation logic to return.- Parameters:
usage- the usage, available usages is up to the calling application and provider implementation to define, null for default. (For instance in a SAML application could one usage be IDP Signer and another be MetaData Signer).relatedOrganisation- the related organisation, null for default.properties- a map of provider specific properties which is up to the calling application and provider implementation to define.
-
-
Method Detail
-
getUsage
public java.lang.String getUsage()
- Returns:
- the usage, available usages is up to the calling application and provider implementation to define, null for default. (For instance in a SAML application could one usage be IDP Signer and another be MetaData Signer).
-
setUsage
public void setUsage(java.lang.String usage)
- Parameters:
usage- the usage, available usages is up to the calling application and provider implementation to define, null for default. (For instance in a SAML application could one usage be IDP Signer and another be MetaData Signer).
-
getRelatedOrganisation
public java.lang.String getRelatedOrganisation()
- Returns:
- the related organisation, null for default.
-
setRelatedOrganisation
public void setRelatedOrganisation(java.lang.String relatedOrganisation)
- Parameters:
relatedOrganisation- the related organisation, null for default.
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
- Returns:
- a map of provider specific properties which is up to the calling application and provider implementation to define. can be null if no properties is defined.
-
setProperties
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
- Parameters:
properties- a map of provider specific properties which is up to the calling application and provider implementation to define.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-