[java-opensaml COMMIT] /trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/keyinfo/KeyInfoGenerator.java
noreply at shibboleth.net
noreply at shibboleth.net
Sun Jan 6 20:51:34 EST 2013
Author: scantor
Date: Sun Jan 6 20:51:34 2013
New Revision: 3127
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3127&view=rev
Log:
At least one impl of interface works without a Credential.
Modified:
trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/keyinfo/KeyInfoGenerator.java
Modified: trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/keyinfo/KeyInfoGenerator.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/keyinfo/KeyInfoGenerator.java?rev=3127&r1=3126&r2=3127&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/keyinfo/KeyInfoGenerator.java (original)
+++ trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/keyinfo/KeyInfoGenerator.java Sun Jan 6 20:51:34 2013
@@ -18,6 +18,7 @@
package org.opensaml.xmlsec.keyinfo;
import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
import org.opensaml.security.SecurityException;
import org.opensaml.security.credential.Credential;
@@ -36,6 +37,6 @@
* @return a new KeyInfo object
* @throws SecurityException thrown if there is any error generating the new KeyInfo from the credential
*/
- @Nonnull public KeyInfo generate(@Nonnull final Credential credential) throws SecurityException;
+ @Nonnull public KeyInfo generate(@Nullable final Credential credential) throws SecurityException;
}
More information about the commits
mailing list