Subversion Repositories DevTools

Rev

Rev 4341 | Rev 4383 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4341 Rev 4359
Line 79... Line 79...
79
            try
79
            try
80
            {
80
            {
81
            	jp.load( jpin );
81
            	jp.load( jpin );
82
            	jpin.close();
82
            	jpin.close();
83
            	jndiProperties = jp;
83
            	jndiProperties = jp;
-
 
84
				if (SecurityContextAssociation.getPrincipal() != null)
-
 
85
            	{
-
 
86
            		jndiProperties.put("remote.connection.default.username", SecurityContextAssociation.getPrincipal().toString());
-
 
87
            		jndiProperties.put("remote.connection.default.password", SecurityContextAssociation.getCredential().toString());
-
 
88
            	}
84
            }
89
            }
85
            catch ( java.io.IOException x )
90
            catch ( java.io.IOException x )
86
            {
91
            {
87
            	// fail
92
            	// fail
88
            }
93
            }