[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateX509Certifi...

noreply at shibboleth.net noreply at shibboleth.net
Thu May 21 16:27:24 EDT 2015


Author: scantor
Date: Thu May 21 16:27:24 2015
New Revision: 7528

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7528&view=rev
Log:
Annotations.

Modified:
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateX509Certificate.java

Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateX509Certificate.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateX509Certificate.java?rev=7528&r1=7527&r2=7528&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateX509Certificate.java	(original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ValidateX509Certificate.java	Thu May 21 16:27:24 2015
@@ -153,7 +153,7 @@
 
     /** {@inheritDoc} */
     @Override
-    protected Subject populateSubject(Subject subject) {
+    @Nonnull protected Subject populateSubject(@Nonnull final Subject subject) {
         subject.getPrincipals().add(((X509Certificate) certContext.getCertificate()).getSubjectX500Principal());
         subject.getPublicCredentials().add(certContext.getCertificate());
         return subject;



More information about the commits mailing list