Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to save Default Principal through admin panel UI #3815

Closed
alexvinok opened this issue Mar 5, 2019 · 6 comments
Closed

Unable to save Default Principal through admin panel UI #3815

alexvinok opened this issue Mar 5, 2019 · 6 comments
Labels
Type: Bug Label issue as a bug defect
Milestone

Comments

@alexvinok
Copy link

alexvinok commented Mar 5, 2019

Description


Configuration->server-config->Securities
I am unable to save Default Principal through admin panel. I see the message
New values successfully saved.
But no changes made to domain.xml file and the fields on the Security form are empty.

Expected Outcome

older version of glassfish 2,1,1 I am migrating from would have saved values and show them on the screen.

Current Outcome

Steps to reproduce (Only for bug reports)

Samples

Context (Optional)

Environment

  • Payara Version: 5.184
  • Edition:
    java -version
    java version "1.8.0_144"
    Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
    Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
  • Operating System: Linux
  • Database:
@lprimak
Copy link
Contributor

lprimak commented Mar 5, 2019

Does this work via asadmin commands?

@alexvinok
Copy link
Author

I believe I was able to run the commands but see no impact

[......@svr1 bin]$ ./asadmin set server-config.security-service.default-principal=......
Enter admin user name> admin
Enter admin password for user "admin">
server-config.security-service.default-principal=......
Command set executed successfully.
[......@svr1 bin]$ ./asadmin set server-config.security-service.default-principal-password=......
Enter admin user name> admin
Enter admin password for user "admin">
server-config.security-service.default-principal-password=......
Command set executed successfully.
[......@svr1 bin]$ ./asadmin set server-config.security-service.activate-default-principal-to-role-mapping=true
Enter admin user name> admin
Enter admin password for user "admin">
server-config.security-service.activate-default-principal-to-role-mapping=true
Command set executed successfully.

UI still shows empty fields post server restart
capture

@lprimak
Copy link
Contributor

lprimak commented Mar 5, 2019

What I am trying to say do you think it's an issue with the UI or functionality?
i.e. can you work around the issue by using asadmin commands?

@smillidge
Copy link
Contributor

This is a UI bug it can be set by the management REST interface.

@smillidge
Copy link
Contributor

PAYARA-3686 created to track this

@smillidge
Copy link
Contributor

Fixed by #3848

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Label issue as a bug defect
Projects
None yet
Development

No branches or pull requests

3 participants