File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes wsadmin jython AdminConfig.create question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "wsadmin jython AdminConfig.create question" Watch "wsadmin jython AdminConfig.create question" New topic

wsadmin jython AdminConfig.create question

Anthony Beaty

Joined: Nov 27, 2012
Posts: 3
Hello all,

Is there a way to list all possible types that can be passed to AdminConfig.create?

For example, if you want to create a J2C Alias, you have to know to pass the type "JAASAuthData". If you know this name then you can get other details using AdminConfig.required('JAASAuthData'), but I have to know the keyword 'JAASAuthData'.

I have tried:


The first one works and give high level generic help on create. The second one returns "AttributeError: 'method' object has no attribute 'help'"

I have tried various searches in google and the info center, but can't find anything helpful.

I am using WAS v7 FP23 in case it's important. Thanks a lot.
Anthony Beaty

Joined: Nov 27, 2012
Posts: 3
For future references, the answer is very simple:

print AdminConfig.types()
subject: wsadmin jython AdminConfig.create question
Similar Threads
Ant problem with EJB utility project
code quick quiz
Fail to read JAASAuthData password
JAASAuthData creation problem using AdminConfig.create