nexus-scripting-examples icon indicating copy to clipboard operation
nexus-scripting-examples copied to clipboard

Can we change realms using script ?

Open Tsukiand opened this issue 5 years ago • 0 comments

I want to change the realms using script but failed. I have no idea how to update the realms using script. Here is the code i used. Please have some suggestions for me.

@Inject
RealmManagerImpl realmManagerImpl;
realmManagerImpl.enableRealm('LDAP Realm', true);
realmManagerImpl.enableRealm('Docker Bearer Token Realm', true);

Tsukiand avatar Feb 12 '20 02:02 Tsukiand