org.kuali.student.security.util
Class SamlUtils
java.lang.Object
org.kuali.student.security.util.SamlUtils
public class SamlUtils
- extends Object
This is a description of what this class does - Rich don't forget to fill this in.
- Author:
- Kuali Rice Team (kuali-rice@googlegroups.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keystoreType
private static String keystoreType
keystoreFile
private static String keystoreFile
keystorePass
private static String keystorePass
privateKeyAlias
private static String privateKeyAlias
privateKeyPass
private static String privateKeyPass
certificateAlias
private static String certificateAlias
samlPropertiesHolder
private static ThreadLocal<Map<String,String>> samlPropertiesHolder
SamlUtils
public SamlUtils()
createAssertion
public static org.opensaml.SAMLAssertion createAssertion()
throws org.opensaml.SAMLException,
CloneNotSupportedException
- Throws:
org.opensaml.SAMLException
CloneNotSupportedException
setSamlProperties
public static void setSamlProperties(Map<String,String> samlProperties)
getSamlProperties
public static Map<String,String> getSamlProperties()
signAssertion
public static Document signAssertion(org.opensaml.SAMLAssertion assertion)
throws org.apache.xml.security.exceptions.XMLSecurityException,
KeyStoreException,
NoSuchAlgorithmException,
CertificateException,
IOException,
UnrecoverableKeyException,
ParserConfigurationException,
DOMException,
org.opensaml.SAMLException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
KeyStoreException
NoSuchAlgorithmException
CertificateException
IOException
UnrecoverableKeyException
ParserConfigurationException
DOMException
org.opensaml.SAMLException
unsignAssertion
public static org.opensaml.SAMLAssertion unsignAssertion(Document doc)
throws TransformerException,
org.apache.xml.security.exceptions.XMLSecurityException,
org.opensaml.SAMLException
- Throws:
TransformerException
org.apache.xml.security.exceptions.XMLSecurityException
org.opensaml.SAMLException
getKeystoreType
public String getKeystoreType()
- Returns:
- the keystoreType
setKeystoreType
public void setKeystoreType(String keystoreType)
- Parameters:
keystoreType
- the keystoreType to set
getKeystoreFile
public String getKeystoreFile()
- Returns:
- the keystoreFile
setKeystoreFile
public void setKeystoreFile(String keystoreFile)
- Parameters:
keystoreFile
- the keystoreFile to set
getKeystorePass
public String getKeystorePass()
- Returns:
- the keystorePass
setKeystorePass
public void setKeystorePass(String keystorePass)
- Parameters:
keystorePass
- the keystorePass to set
getPrivateKeyAlias
public String getPrivateKeyAlias()
- Returns:
- the privateKeyAlias
setPrivateKeyAlias
public void setPrivateKeyAlias(String privateKeyAlias)
- Parameters:
privateKeyAlias
- the privateKeyAlias to set
getPrivateKeyPass
public String getPrivateKeyPass()
- Returns:
- the privateKeyPass
setPrivateKeyPass
public void setPrivateKeyPass(String privateKeyPass)
- Parameters:
privateKeyPass
- the privateKeyPass to set
getCertificateAlias
public String getCertificateAlias()
- Returns:
- the certificateAlias
setCertificateAlias
public void setCertificateAlias(String certificateAlias)
- Parameters:
certificateAlias
- the certificateAlias to set
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.