I tried to changed the Teamcenter RAC login dialog, and found the class RACLoginDialog.class, but I don't know how to replace this dialog using my own.
And I found the LOGIN_COMMAND in com.teamcenter.rac.kernal.kernal.properties, but I can't found the LoginCommand too.
It's there have a way to change the RAC login dialog using my own class? Or it just can decompliance then overwrite this class?
Thanks for your replies.
Solved! Go to Solution.
Just so you're aware, the licensing agreement you likely went right past without reading specifically prohibits decompiling and reverse engineering any part of Teamcenter supplied by Siemens.
What are you trying to modify in the login dialog?
Customer hope TC RAC can auto login with using system username concat string as user id and the password calculated by the specific encryption method, and auto close the login dialog if login fail after click the message box's 'OK'.
I change the portal.bat and add vmargs with -Dautologin.user and -Dautologin.password, it can auto login, but if any error alert, the login dialog wouldn't dispose and user can enter any account password.
I had tried the extend RACLoginDialog and override methods, but it can't take effect like as override pasteCommand.
I tried the create kernal_user.properties to specify LOGIN_COMMAND to my class, but package com.teamcneter.rac.commands.login was not found in TPR\plugins\
I agree with Randy. It's be far easier/better to use Teamcenter's existing link into the company's domain authentication system than try to write your own.