Subversion Repositories DevTools

Rev

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

Rev 4383 Rev 4452
Line 78... Line 78...
78
            Properties jp = new Properties();
78
            Properties jp = new Properties();
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
            	}
-
 
89
            }
84
            }
90
            catch ( java.io.IOException x )
85
            catch ( java.io.IOException x )
91
            {
86
            {
92
            	// fail
87
            	// fail
93
            }
88
            }