Hi,
If your portal is configured to work with SAP ID Service (can be any other IdP which supports SAML2.0), and the portal site access level is set to 'Authenticated', only registered users will gain access to the site. Others, will have to register in the respective landscape (trial/ productive).
Regards,
Ifat.