cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Is there a way to change sponsorship text on Enterasys NAC / Mobile IAM?

Is there a way to change sponsorship text on Enterasys NAC / Mobile IAM?

Alexandre_Canal
New Contributor II
Is there a way to change sponsorship text on Enterasys NAC / Mobile IAM?
6 REPLIES 6

Ryan_Yacobucci
Extreme Employee
Hello,

The information provided includes the underlying code that shows you what variables can be modified.

We have updated our information to make it a little more clear. Please consider the following:

Here are the fields that can be customized/overridden for sponsorship email in the nsjboss.properties file on the NetSight Server. SPONSOR_EMAIL_MSGBODY= User: %fullname% (%username%) \nEmail: %useremail% \nHas requested sponsorship to obtain network access. \n\n" + "Go to " + SPONSOR_PORTAL_URL + " to Approve/Deny this request.

SPONSOR_EMAIL_SUBJECT= Sponsorship Request

SPONSOR_EMAIL_SENTFROM=NAC - Automated Email

SPONSOR_PORTAL_URL=_http://%tagip%/sponsor

In the /NetSight/appdata/nsjboss.properties files include which variables you would like to modify. So your file would look something like this:

log4j.configuration=file\:./log4j.properties

enterasys.mysqlrealm.rpt.password=

java.security.manager=

enterasys.embeddednac.enable=false

enterasys.datasource.connectionurl=jdbc\:mysql\://127.0.0.1\:4589/netsight?jdbcCompliantTruncation\=false&useUnicode\=true&characterEncoding\=UTF-8

enterasys.mysqlrealm.rpt.username=netsight

username=root

oneView.responsetime.app.redline=1000

java.security.policy=../server/default/conf/server.policy

dashboard.cache.time=2

enterasys.tomcat.ciphers=

enterasys.webservices.queryendsystems=true

oneView.responsetime.tcp.redline=1000

enterasys.mysqlrealm.password=

nmsMobile.demoMode=false

enterasys.mysqlrealm.username=netsight

USE_NETSNMP=true

enterasys.tomcat.https.port=8443

enterasys.tomcat.http.port=8080

enterasys.jboss.log4j.logfile=../../appdata/logs/server.log

enterasys.datasource.rpt.connectionurl=jdbc\:mysql\://127.0.0.1\:4589/netsightrpt?jdbcCompliantTruncation\=false&useUnicode\=true&characterEncoding\=UTF-8

domain=

SPONSOR_EMAIL_MSGBODY= User: %fullname% (%username%) \nEmail: %useremail% \nHas requested sponsorship to obtain network access. \n\n" + "Go to " + SPONSOR_PORTAL_URL + " to Approve/Deny this request.

SPONSOR_EMAIL_SUBJECT= Sponsorship Request

SPONSOR_EMAIL_SENTFROM=NAC - Automated Email

SPONSOR_PORTAL_URL=_http://%tagip%/sponsor

Do not copy and paste the entire previous log, your nsjboss.properties file has specific information for your deployment, it is only meant as an example of how to configure the variables.

After you edit the file a restart of the netsight services will be required.

Let me know if this helps.

Thanks

-Ryan

Alexandre_Canal
New Contributor II
Hi,
I'm still waiting on this answer. Has anyone already solved this?

It is important to note that i'm referring to the text sent on e-mail body, that looks like the following:

****************************************************************************

User: FirstName LastName (LastName-FirstName-AA:AA:AA:AA:AA:AA)
Email: user@corp.com Has requested sponsorship to obtain network access.

Go to http://<>/sponsor to Approve/Deny this request.

****************************************************************************

We have received an information from Support with the following instruction, but they didn't work:

----- Forwarded Message -----

The strings can be updated by adding the below updates to the C:\Program Files\Enterasys Networks\NetSight\appdata\NSJBoss.properties file. Once the file is edited you will need to restart the NetSight server in order for the changes to take effect.

private static String SPONSOR_EMAIL_TEXT_NOT_SPECIFIED = System.getProperty("SPONSOR_EMAIL_TEXT_NOT_SPECIFIED", "Not Specified");
private static String SPONSOR_PORTAL_URL = System.getProperty("SPONSOR_PORTAL_URL", "_http://%tagip%/sponsor;
private static String SPONSOR_EMAIL_MSGBODY_DEFAULT = "User: %fullname% (%username%) \nEmail: %useremail% \nHas requested sponsorship to obtain network access. \n\n" + "Go to " + SPONSOR_PORTAL_URL + " to Approve/Deny this request.";
private static String SPONSOR_EMAIL_SUBJECT = System.getProperty("SPONSOR_EMAIL_SUBJECT", "Sponsorship Request");
private static String SPONSOR_EMAIL_MSGBODY = System.getProperty("SPONSOR_EMAIL_MSGBODY", SPONSOR_EMAIL_MSGBODY_DEFAULT);
private static String SPONSOR_EMAIL_SENTFROM = System.getProperty("SPONSOR_EMAIL_SENTFROM", "NAC - Automated Email");

These are the variables you will most likely want to update:
SPONSOR_EMAIL_MSGBODY=User: %fullname% (%username%) \nEmail: %useremail% \nHas requested sponsorship to obtain network access. \n\nGo to _http://%tagip%/sponsor to Approve/Deny this request.
SPONSOR_EMAIL_SUBJECT
SPONSOR_EMAIL_SENTFROM

----- END of Forwarded Message -----

Does anybody has any hint on how to do it?
GTM-P2G8KFN