|
|
||
Masoud Kalali's BlogHow to install and use OpenSSO CLI (Command Line Administration Interface)Posted by kalali on May 17, 2007 at 04:04 PM | Comments (0)OpenSSO which is open source branch of Sun Java Access Manager has several module which you should install and configure in case that you want to have similar bundle from its open source branch.
One of main components is OpenSSO itself which you can obtain from Its nightly
builds page; just make sure to select latest link which
will take you to the download page with links to OpenSSO modules. To install OpenSSO, you can follow a detailed installation instruction in OpenSSO easy installation just make sure that you remember value that you determined for Configuration directory because we will use it to install CLI (Command Line administration Interface). Now that you have installed OpenSSO you can install its CLI package. Download amAdminTools.zip and extract it somewhere in your hard dist. after you have extracted it follow this sequence to complete its installation open a terminal (cmd) and navigate to directory that you extract the amAdminTools.zip; execute: setup -p <OPENSSO_CONFIGURATION_DIRECTORY> It should echo some text indicating that installation is successful. If you want to know more, Installation is nothing more than creation of batch files that I will talk about one of them in next step. this batch files use some files that are located in opensso configuration directory to perform their operations. the file that I will talk about is named amadm.bat or amadm.sh this file let you manage your OpenSSO installation from a command line interface even if opensso server is running. all sub commands of this command has a set of 2 common parameter
Now lets try some commands
This command will create a new realm and put its parent is root realm.
This command list all realms that are created under parentship of root realm.
This command list all identities of type User which are exists in root realm.
you can find a list of all sub commands by calling
By default root realm is named openSSO and your created realm will be a child of that realm, Now you can open openSSO web based administraton console and check the result of CLI with it Bookmark blog post: CommentsComments are listed in date ascending order (oldest first) | Post Comment | ||
|
|