File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/test/java/com/connectedcooking/opcua/dynamicnodemanager/adaptor/prosys Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ class ProsysServerITTest {
4343
4444 private static final String SERNUM_NODE_ID = "SerialNumber" ;
4545
46- private static final String USERNAME = "TestUser1" ;
47- private static final String PASSWORD = "Secret123!" ;
48-
4946 private static UaServer server ;
5047 private static UaClient client ;
5148
@@ -62,7 +59,7 @@ static void setup() throws Exception {
6259 server .setPort (14840 );
6360 server .setServerName ("OPCUA/Test" );
6461 server .getSecurityModes ().add (SecurityMode .NONE );
65- server .setUserTokenPolicies (UserTokenPolicies .SECURE_USERNAME_PASSWORD_BASIC128RSA15 );
62+ server .setUserTokenPolicies (UserTokenPolicies .ANONYMOUS );
6663 var appDescription = new ApplicationDescription ();
6764 appDescription .setApplicationName (new LocalizedText ("TestServer" ));
6865 appDescription .setApplicationUri ("urn:test:opcua" );
@@ -81,7 +78,6 @@ static void setup() throws Exception {
8178 client = new UaClient ("opc.tcp://127.0.0.1:14840/OPCUA/Test" );
8279 client .setApplicationIdentity (new ApplicationIdentity ());
8380 client .setSecurityMode (SecurityMode .NONE );
84- client .setUserIdentity (new UserIdentity (USERNAME , PASSWORD ));
8581 client .setTimeout (10 , TimeUnit .MINUTES );
8682
8783 setupDynamicNodeManager ();
You can’t perform that action at this time.
0 commit comments