You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by da...@apache.org on 2008/01/25 05:51:35 UTC

svn commit: r615109 - in /db/derby/code/trunk/java/engine/org/apache/derby: iapi/sql/Activation.java iapi/sql/conn/LanguageConnectionContext.java impl/sql/conn/GenericLanguageConnectionContext.java impl/sql/execute/BaseActivation.java

Author: dag
Date: Thu Jan 24 20:51:30 2008
New Revision: 615109

URL: http://svn.apache.org/viewvc?rev=615109&view=rev
Log:
DERBY-3327 SQL roles: Implement authorization stack

Some javadoc bugs fixed.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/Activation.java
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/Activation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/Activation.java?rev=615109&r1=615108&r2=615109&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/Activation.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/Activation.java Thu Jan 24 20:51:30 2008
@@ -591,7 +591,7 @@
 	 * from this activation (which must be a stored
 	 * procedure/function) call.
 	 *
-	 * @arg role The name of the current role
+	 * @param role The name of the current role
 	 */
 	public void setNestedCurrentRole(String role);
 
@@ -608,7 +608,7 @@
 	 * This activation is created in a dynamic call context, remember
 	 * its caller's activation.
 	 *
-	 * @arg a The caller's activation
+	 * @param a The caller's activation
 	 */
 	public void setCallActivation(Activation a);
 

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java?rev=615109&r1=615108&r2=615109&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java Thu Jan 24 20:51:30 2008
@@ -1052,7 +1052,7 @@
     /**
 	 * Set the current role
 	 *
-	 * @param activation activation of set role statement
+	 * @param a activation of set role statement
 	 * @param role  the id of the role to be set to current
 	 */
     public void setCurrentRole(Activation a, String role);
@@ -1061,7 +1061,7 @@
 	 * Get the current role authorization identifier of the dynamic
 	 * call context associated with this activation.
 	 *
-	 * @param activation activation of statement needing current role
+	 * @param a activation of statement needing current role
 	 * @return String	the role id
 	 */
 	public String getCurrentRoleId(Activation a);

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java?rev=615109&r1=615108&r2=615109&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java Thu Jan 24 20:51:30 2008
@@ -3107,7 +3107,7 @@
 	/**
 	 * Set the current role
 	 *
-	 * @param activation activation of set role statement
+	 * @param a activation of set role statement
 	 * @param role	the id of the role to be set to current
 	 */
 	public void setCurrentRole(Activation a, String role) {
@@ -3127,7 +3127,7 @@
 	 * Get the current role authorization identifier of the dynamic
 	 * call context associated with this activation.
 	 *
-	 * @param activation activation  of statement needing current role
+	 * @param a activation  of statement needing current role
 	 * @return String	the role id
 	 */
 	public String getCurrentRoleId(Activation a) {

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java?rev=615109&r1=615108&r2=615109&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/execute/BaseActivation.java Thu Jan 24 20:51:30 2008
@@ -1344,7 +1344,7 @@
 	 * from this activation (which must be a stored
 	 * procedure/function call).
 	 *
-	 * @arg role The name of the current role
+	 * @param role The name of the current role
 	 */
 	public void setNestedCurrentRole(String role) {
 		nestedCurrentRole = role;
@@ -1365,7 +1365,7 @@
 	 * This activation is created in a dynamic call context, remember
 	 * its caller's activation.
 	 *
-	 * @arg a The caller's activation
+	 * @param a The caller's activation
 	 */
 	public void setCallActivation(Activation a) {
 		callActivation = a;