It's all about the answers!

Ask a question

Programmatically create users in JAS


Stephan Leutenmayr (2329) | asked Mar 22 '17, 4:40 a.m.

 We want to use JAS for authenticating users using saml. Is there a way to programmatically create users in JAS? For me, the only alternatives seem to be:

a) manipulate the basicUserRegistry.xml
b) use an external LDAP as a registry
Is there an alternative using some JAS API?

Thanks in advance!

One answer



permanent link
Donald Nong (14.5k614) | answered Mar 22 '17, 5:14 a.m.

For a), I don't think it has anything to do with JAS. You can just use Liberty API (if available).

If you're really using SAML, is there any reason you want to programmatically create users in JAS? When you choose to use SAML, the authenticated subject (the user) comes from the IdP (for example ADFS), not JAS itself. JAS needs to handle group mapping though, as it is not part of SAML.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.