public class MetadataGeneratorTask
extends org.apache.tools.ant.Task
| Modifier and Type | Class and Description |
|---|---|
class |
MetadataGeneratorTask.Initializer
An initializer which knows about our idp.home.
|
| Modifier and Type | Field and Description |
|---|---|
private File |
backchannelCert
Ant level override for the back channel certificate.
|
private String |
dnsName
Ant level override for the DNS name.
|
private File |
encryptionCert
Ant level override for the encryption certificate.
|
private String |
entityID
Ant level override for the entity ID.
|
private String |
idpHome
Where idp.home is.
|
private File |
outputFile
where to put the data.
|
private boolean |
saml2AttributeQueryCommented
Whether to comment out the SAML2 AA port.
|
private boolean |
saml2LogoutCommented
Whether to comment out the SAML2 SLO endpoints.
|
private String |
scope
Ant level override for the scope.
|
private File |
signingCert
Ant level override for the signing certificate.
|
| Constructor and Description |
|---|
MetadataGeneratorTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
String |
getIdpHome()
Where is idp.home.
|
boolean |
isSAML2AttributeQueryCommented()
Returns whether to comment the SAML2 AA endpoint.
|
boolean |
isSAML2LogoutCommented()
Returns whether to comment the SAML2 Logout endpoints.
|
void |
setBackchannelCert(File file)
Set the Backchannel Certificate file.
|
void |
setDnsName(String name)
Sets the dns name.
|
void |
setEncryptionCert(File file)
Set the encryption Certificate file.
|
void |
setEntityID(String id)
Sets the entityID.
|
void |
setIdpHome(String home)
Set where where is idp.home.
|
void |
setOutput(File file)
Set the output file.
|
void |
setSAML2AttributeQueryCommented(boolean asComment)
Sets whether to comment the SAML2 AA endpoint.
|
void |
setSAML2LogoutCommented(boolean asComment)
Sets whether to comment the SAML2 Logout endpoints.
|
void |
setScope(String value)
Sets the scope.
|
void |
setSigningCert(File file)
Set the signing Certificate file.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprivate File outputFile
@Nullable private File encryptionCert
@Nullable private File backchannelCert
private boolean saml2AttributeQueryCommented
private boolean saml2LogoutCommented
public void setIdpHome(@Nullable String home)
home - The idpHome to set.public void setOutput(File file)
file - what to set.public void setEncryptionCert(File file)
file - what to set.public void setSigningCert(File file)
file - what to set.public void setBackchannelCert(File file)
file - what to set.public void setEntityID(String id)
id - what to set.public void setDnsName(String name)
name - what to set.public void setScope(String value)
value - what to set.public boolean isSAML2AttributeQueryCommented()
public void setSAML2AttributeQueryCommented(boolean asComment)
asComment - whether to comment or not.public boolean isSAML2LogoutCommented()
public void setSAML2LogoutCommented(boolean asComment)
asComment - whether to comment or notpublic void execute()
execute in class org.apache.tools.ant.TaskCopyright © 1999–2015. All rights reserved.