[java-opensaml COMMIT] /trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/saml1/core/NameIdentifier.java

noreply at shibboleth.net noreply at shibboleth.net
Mon Aug 18 16:35:03 EDT 2014


Author: scantor
Date: Mon Aug 18 16:35:03 2014
New Revision: 4002

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4002&view=rev
Log:
Deprecate set/getNameIdentifier to preserve sanity.

Modified:
    trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/saml1/core/NameIdentifier.java

Modified: trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/saml1/core/NameIdentifier.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/saml1/core/NameIdentifier.java?rev=4002&r1=4001&r2=4002&view=diff
==============================================================================
--- trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/saml1/core/NameIdentifier.java (original)
+++ trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/saml1/core/NameIdentifier.java Mon Aug 18 16:35:03 2014
@@ -91,6 +91,7 @@
      * 
      * @return the identifier
      */
+    @Deprecated
     public String getNameIdentifier();
 
     /**
@@ -98,6 +99,21 @@
      * 
      * @param nameIdentifier the identifier.
      */
+    @Deprecated
     public void setNameIdentifier(String nameIdentifier);
-    
+
+    /**
+     * Gets the identifier.
+     * 
+     * @return the identifier
+     */
+    public String getValue();
+
+    /**
+     * Sets the identifier.
+     * 
+     * @param nameIdentifier the identifier.
+     */
+    public void setValue(String nameIdentifier);
+
 }



More information about the commits mailing list