cancel
Showing results for 
Search instead for 
Did you mean: 

How to change "You are not allowed to sign in. Please contact your administrator."?

SOLVED
michael.saw_
Regular Contributor

How to change "You are not allowed to sign in. Please contact your administrator."?

Hi All,

Anyone knows how to change the phrase "You are not allowed to sign in. Please contact your administrator." to something else in MAG, as attached?

Where is the setting on this located?

Anyone got a kb or doc link on this?

1 ACCEPTED SOLUTION

Accepted Solutions
spuluka
Super Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

This message is a property of the Sign-in page. You list them on this menu.

Authentication - Signing in - Sign-in pages

Then open the particular page or pages and update the messages and instructions.

Steve Puluka BSEET - IP Architect - DQE Communications Pittsburgh, PA (Metro-Ethernet & ISP) - http://puluka.com/home

View solution in original post

10 REPLIES 10
spuluka
Super Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

This message is a property of the Sign-in page. You list them on this menu.

Authentication - Signing in - Sign-in pages

Then open the particular page or pages and update the messages and instructions.

Steve Puluka BSEET - IP Architect - DQE Communications Pittsburgh, PA (Metro-Ethernet & ISP) - http://puluka.com/home
zanyterp_
Respected Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

You would need to use custom pages for that customization iirc (I will have to check when I get in the office Monday). There is _some_ customization possible without the use of custom pages, but very little.
michael.saw_
Regular Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

I couldn't find this on the Admin guide as well...
kenlars_
Super Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

There is a separate document on creating custom sign-in pages. The basic process is to download the default pages from the SA, modify them, and then upload them back to the SA. Assuming you are using 7.1, you want to look at the j-sa-sslvpn-7.1-customsigninpages.pdf document, and look at the discussion about LoginPageErrorCode and LoginPageErrorMessage. There are some simple examples there.

Ken

michael.saw_
Regular Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

Hi Ken,

I'm checking on the http://www.juniper.net/techpubs/software/ive/admin/j-sa-sslvpn-7.1-customsigninpages.pdf...

Seems like we need to change the html coding right?
zanyterp_
Respected Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

Yes, that is correct.
michael.saw_
Regular Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

Thanks for the tip! Smiley Happy
ed_gpc_
Occasional Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

I didn't think there was the ability to modify the messages though?

kenlars_
Super Contributor

Re: How to change "You are not allowed to sign in. Please contact your administrator."?

In the custom signin pages, you can modify the LoginPage.html to change any login error message displayed on that page. Here is a snippet from our LoginPage.html -

<% IF LoginPageErrorMessage == "Invalid username or password. Please re-enter your user information." %>

The credentials you entered are incorrect - please try again. If the issue persists contact your help desk.

<% ELSE %>

<% LoginPageErrorMessage %>

<% END %>

So, we change only one of the messages, and let the others be displayed unchanged.

Ken