cancel
Showing results for 
Search instead for 
Did you mean: 

how to redirect to another sigin page after hostcheker failed

Highlighted
Occasional Contributor

how to redirect to another sigin page after hostcheker failed

hello juniper community!

 

i am asking myself if it possible or not to redirect the users to another signin page/realm if they do no match the hostcheker done on a first sign in page.

 

currently, my users are going to signinpage1, with a pickup list containing several realms, prior to this page, I do a host checker looking for a DLL. ( require and enforce)

 

the idea is, if the file required is present, how can i do to send the user to another signin page (based on a AAA solution).

 

=> if i add the other realm into the pickuplist, once selected, it does not force refresh the page so the authentication way can't be working.

 

 

hope i am clear in my explanation, sorry by advance my search did not point out to a solution.

2 REPLIES 2
Highlighted
Regular Contributor

Re: how to redirect to another sigin page after hostcheker failed

If you have two realms and want to use realm1 if the DLL present and realm2 if it is not present then create two host checker file policies for the DLL, policy1 set to "Required" and policy2 set to "Deny". Assign policy1 to realm 1 and policy2 to realm2.

Assign both realms to the same sign in policy. As only one of the host checks can be true only one realm will be available on the sign-in policy so the user will get Realm1 or Realm2 depending on the presence of the DLL

Highlighted
Occasional Contributor

Re: how to redirect to another sigin page after hostcheker failed

Thanks, i'll have a look with this way and will try to update you!