users@glassfish.java.net

RE: How to add custom realm to administration console

From: Andreas Junius <AJunius_at_internode.com.au>
Date: Tue, 24 Jul 2012 06:22:50 +0000

Sorry for my previous message - I made a typo using the command. Now it's working and actually my class is not part of this list. So what would be required to get my custom realm added to the list?

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