The command has to be there, otherwise the admin console will not list
anything as predefined realm, ie, the dropdown box will be empty.
What did you do that make you think the command isn't available ?
Did you do exactly as suggested ?
%asadmin __list-predefined-authrealm-classnames
and you can also try
%asadmin list-commands __list
to see what it returns. If you just do list-commands, this will not
show __list-predefined-authrealm-classnames since it is a hidden command.
Anissa.
On 7/23/12 11:13 PM, Andreas Junius wrote:
>
> It appears that this command isn't available (GF 3.1.2.2). Do you know
> where GF stores this list (and the properties associated with the
> respective class)?
>
> Andy
>
> *From:*Anissa Lam [mailto:anissa.lam_at_oracle.com]
> *Sent:* Monday, 23 July 2012 10:50 PM
> *To:* users_at_glassfish.java.net
> *Subject:* Re: How to add custom realm to administration console
>
>
> The "Class Name" dropdown box in the "New Realm" shows the predefined
> authrealm class name returned by a hidden command. If you run the
> following command
> %asadmin __list-predefined-authrealm-classnames
> do you see it included there ?
>
> Anissa.
>
> On 7/23/12 12:19 AM, Andreas Junius wrote:
>
> Yep, I can see my realm there (created on the command line). However I
> thought there should be a way to add it to the dropdown box on the
> "New Realm" dialogue?
>
> *From:*KumarJayanti [mailto:v.b.kumar.jayanti_at_oracle.com]
> *Sent:* Monday, 23 July 2012 4:42 PM
> *To:* users_at_glassfish.java.net <mailto:users_at_glassfish.java.net>
> *Subject:* Re: How to add custom realm to administration console
>
> It should be automatic. You should see your realm in admin console
> once your realm is created correctly.
>
> On Jul 23, 2012, at 12:27 PM, Andreas Junius wrote:
>
>
>
>
> Hi All,
>
> I created a custom realm following the documentation
> on:http://docs.oracle.com/cd/E26576_01/doc.312/e24930/securing-apps.htm#beabs
>
> The next step would be to get the new realm into the administration
> console, i.e. I want it available in the dropdown box for realms and
> I'd like to set the required parameters. Is there any documentation
> for this available?
>
> Cheers,
>
> Andy
>