Sunday, November 29, 2015

User Provisioning in WSO2 IS


WSO2 Identity Server 5.0.0 supports Inbound provisioning, Outbound provisioning and Just-In-Time provisioning. In this post, I'll walk you through these provisioning concepts.

Inbound provisioning

Inbound provisioning provisions users to the Identity Server from an external system. WSO2 Identity Server supports inbound provisioning via SOAP based APIs as well as SCIM APIs. When using inbound provisioning, the users will be created in primary or secondary user stores.



Just-In-Time provisioning (JIT)

Just-In-Time provisioning will provision users to the Identity Server by the time the user is logging from an external Identity Provider. You can point to the user store which needs to be populated with the JIT provisioning.



Outbound provisioning

Outbound provisioning provisions users from Identity Server to trusted Identity Providers. WSO2 Identity Server supports outbound provisioning via SCIM, SPML, SOAP, Google Apps provisioning API, Salesforce provisioning API. 





You can go through this blog post for detailed information about the authentication framework.


Installing Web logic 12.1.2 in IBM AIX

Prerequisites

JDK 1.7 or above
wls_121200.jar downloaded (download the jar from here)

Installation Steps

Type the below command from the location where the jar file exists.

java -jar wls_121200.jar






Give the location you need to install Web Logic.










You can finish up the installation by clicking the finish button.

Configuring Web logic 12.1.2

Navigate to ORACLE_HOME/oracle_common/common/bin directory. Start the graphical configuration wizard as follows.

./config.sh




Provide a username and a password for your administrator account.


Provide the JDK path.










Starting the Web logic server


Access the server using the following URL.

<ip_address>:7001/console









Sunday, November 22, 2015

Configuring IBM AIX 7.1 with IBM JDK 1.6


1. Download IBM SDK 6 for AIX 7.1 using the below link.

https://www.ibm.com/developerworks/java/jdk/aix/service.html

You will get the Java6_64.sdk.6.0.0.385.tar file.

2. Extract the tar file using the following command.

tar –xvf Java6_64.sdk.6.0.0.385.tar
You will get the Java6_64.sdk file.

3. Start the installation using the below commands.
inutoc .
smitty installp


4. You will get a menu to select items. Install software is selected by default. Press enter to continue the installation.











5. Enter the directory for software as ./


6. Select "ACCEPT new license agreements?" from the up and down arrows. Press tab key to change the text to "yes".































7. Hit enter to start installation.




















This will install the IBM jdk on your AIX OS.


Wednesday, November 18, 2015

Extracting a .zip file using unzip command in IBM AIX


Unzip utility is not installed in IBM AIX by default. And also it can not be installed using apt-get, as we do in Linux OS.

Here is a step by step guide to install unzip in IBM AIX.

Step 01

Visit http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html and download the rpm for unzip. (unzip-5.51-1.aix5.1.ppc.rpm )

Step 02

Run the following command to install unzip feature in AIX

rpm -ivh unzip-5.51-1.aix5.1.ppc.rpm

You will get the following output.

l490vp017_pub[/home/u0013155] > rpm -ivh unzip-5.51-1.aix5.1.ppc.rpm

unzip                       ##################################################

Step 03

Type unzip and check whether it is installed correctly.

l490vp017_pub[/home/u0013155] > unzip
UnZip 5.51 of 22 May 2004, by Info-ZIP.  Maintained by C. Spieler.  Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
  Default action is to extract files in list, except those in xlist, to exdir;
  file[.zip] may be a wildcard.  -Z => ZipInfo mode ("unzip -Z" for usage).

  -p  extract files to pipe, no messages     -l  list files (short format)
  -f  freshen existing files, create none    -t  test compressed archive data
  -u  update files, create if necessary      -z  display archive comment
  -x  exclude files that follow (in xlist)   -d  extract files into exdir

modifiers:                                   -q  quiet mode (-qq => quieter)
  -n  never overwrite existing files         -a  auto-convert any text files
  -o  overwrite files WITHOUT prompting      -aa treat ALL files as text
  -j  junk paths (do not make directories)   -v  be verbose/print version info
  -C  match filenames case-insensitively     -L  make (some) names lowercase
  -X  restore UID/GID info                   -V  retain VMS version numbers
                                             -M  pipe through "more" pager
Examples (see unzip.txt for more info):
  unzip data1 -x joe   => extract all files except joe from zipfile data1.zip
  unzip -p foo | more  => send contents of foo.zip via pipe into program more
  unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer

Step 04

Use unzip command to extract the .zip file.

unzip wso2esb-4.8.1.zip


I will guide you on how to install IBM JDK in IBM AIX.