Configuring Fuse- Basics

Adding Users

Fuse_Installation_directory/etc/users.properties

Users are added as new user on new line as java properties file syntax

username=password,role

Role Based Authentication deserves its own separate post and is available from 6.2 on-wards only

E.g:

MyAdminUser=MyAdminPassword,admin
MyAdminUser2=MyAdminPassowrd2,admin

Editing name of Container

Fuse_installation_directory/etc/system.properties

each karaf instance can be given name by which later we can refer to container. This will be useful when we are running in Fabric based environment.

karaf.name=root

E.g

karaf.name=MyContainer1

Changing HAWTIO port

As we have seen in previous chapter Fuse comes with cool browser based console . All the task that can be done using command line can also be done using HAWTIO console. This console by default runs on 8181 port. To make hawtio run on particular port wer have to edit org.osgi.service.http.port  property in below file.

$Fuse_installation_Directory/org.ops4j.pax.web.cfg

Change org.osgi.service.http.port property  to any desired unoccupied port.

org.osgi.service.http.port=8107

Adding Maven Repository and Settins.xml

As Fuse artifacts will be installed mostly from Maven repository, Fuse should know the path of Maven repository and settings.xml

$FUSE_INSTALLATION_DIR/etc/org.ops4j.pax.logging.cfg

org.ops4j.pax.url.mvn.settings=D:/Maven/settings.xml
org.ops4j.pax.url.mvn.localRepository=D:/Maven/localRepository/

 

Advertisements

2 thoughts on “Configuring Fuse- Basics

    • Below are the Roles you can use except admin.
      manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser

      The roles based access management has taken effect from 6.2.1 on wards.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s