i am using grrovy to connect Jboss management CLI using JBOSS CLI library. i have jboss eap 6.2 installed by extract the JBOSS EAP 6.2 ZIP version. its dosent have default management user. when i am trying to connect with below code, its give error message "Authentication failed". CLI cli = CLI.newInstance(); cli.connect(null,null). i want to connect with out credential.
1) is possible to connect with out credentail. if possible please suggest me the way to approach.
2) if not possible, what would be alternative for this.