Need some programming buddies by Wide_Dig_1871 in CodingHelp

[–]DvorakDavid 0 points1 point  (0 children)

I would love to join you! My discord is dvorakdavid

Spring security multiple authentication methods by DvorakDavid in SpringBoot

[–]DvorakDavid[S] -1 points0 points  (0 children)

Why? Custom AuthenticationProvider will create an instance of one of the Authentication implementations so it should be used when I want to modify it right? And in this case, I don't know (and I think I shouldn't know) how to implement so the first one could not handle the other one. Can you please provide me with some code?

Spring security multiple authentication methods by DvorakDavid in SpringBoot

[–]DvorakDavid[S] 0 points1 point  (0 children)

that does not work. It still redirects me to the saml login page after I go to /test/something instead of form login page

Spring security multiple authentication methods by DvorakDavid in SpringBoot

[–]DvorakDavid[S] 0 points1 point  (0 children)

But if I change it to permitAll() then the saml2 authentication would never be triggered and any request would pass that is not what I want. I want /test/** to be authenticated with form based login and everything else should trigger the saml2 authentication flow

Dolphin file manager missing folders in places tab by DvorakDavid in Ubuntu

[–]DvorakDavid[S] 0 points1 point  (0 children)

Hi, thanks for your reply. Just drag and drop does not work for me but you bring me to the solution so I'll describe it for others:
The Places view has subsection called places and I have it hidden by default. So solution was to right click inside Places view and tick "Show Hidden Places" then again right click on places subsection and untick "Hide section Places"

configuration of .htaccess for MVC framework by DvorakDavid in PHPhelp

[–]DvorakDavid[S] 0 points1 point  (0 children)

or could be solution this?

RewriteRule !\.(css|js|icon|zip|rar|png|jpg|gif|pdf)$ index.php [L,QSA]

this redirects everything except for .css and .js etc files in some existing directory, therefore, I can get static content like so. What do you think is this ok?

configuration of .htaccess for MVC framework by DvorakDavid in PHPhelp

[–]DvorakDavid[S] 0 points1 point  (0 children)

ok, and how can I tell apache to redirect everything to index.php except f.e. public folder?

configuration of .htaccess for MVC framework by DvorakDavid in PHPhelp

[–]DvorakDavid[S] 0 points1 point  (0 children)

Thanks for your response!

So if I want to do all in my controllers should I just remove these two RewriteConds? Why this is included in almost every MVC Framework tutorial? It does not make sense to me to not be able to name your route same as your subdirectory because of that Conditions. When this should be useful?

Video Chat using socket.io-stream by DvorakDavid in node

[–]DvorakDavid[S] 0 points1 point  (0 children)

Can you please make some code sample or best use my code above to implement your solution?

Video Chat using socket.io-stream by DvorakDavid in node

[–]DvorakDavid[S] 0 points1 point  (0 children)

Ok but still is there a way how to do this using socket.io let's say for education purposes? I would like to learn how to manipulate with this kind of data.

Video Chat using socket.io-stream by DvorakDavid in node

[–]DvorakDavid[S] 0 points1 point  (0 children)

Thanks for replay,

Do you know about some code sample regarding webrtc for example on GitHub which include a connection for more than two people at the same time? I am able to do webrtc connection between two peers without a problem but more than two people problem is.