Understand that perconfiguredLoginModule is not meant for production usage since you are hardcoding the credentials in SCC. Also, using these credentials the user will be able to login to SCC too, that is not needed.
If you are looking for a SAP Login from your application you have to go with HTTPAuthenticationLoginModule. I have shared some discussions on how to do that. Once you create it make sure that you have deleted the NoSecLogin module which is present by default in authentication, attribution and authorization tabs. After that you have to add this security to the security folder present under default domain.
As a second step keep the credentials of MBO in run time (select password and username while MBO creation) and deploy these MBOs to default domain and newly created security profile.
in the third step, create a credential request screen where you need to check the options username and password in properties of editbox used for credentials, hence these credentials will be cached in the application and used each time when you are making an online request.
Hope this helps you to implement SAPSSO in your app.,
Midhun VP