ADF Login problem

Hi,
I have implemented ADF Security along with a login bean and a home managed bean according to Frank Nimphius's article in the Oracle Magazine.
Problems:
1. In design view the login link is visible, but not in the browser (Firefox vers. 19).
2. Only the logout link is visible
3. When trying to logout the current page only refreshes
Login bean
package demo.view;
import java.io.IOException;
import java.util.Map;
import javax.faces.application.FacesMessage;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.security.auth.Subject;
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.login.FailedLoginException;
import javax.security.auth.login.LoginException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import oracle.adf.share.ADFContext;
import oracle.adf.view.rich.event.DialogEvent;
import weblogic.security.SimpleCallbackHandler;
import weblogic.security.URLCallbackHandler;
import weblogic.security.services.Authentication;
import weblogic.servlet.security.ServletAuthentication;
public class LoginBean {
    String _username = null;
    String _password = null;
    public static String USERNAMETOKEN = "_____demoOnlyUsernameAttrString___________";
    public static String PASSWORDTOKEN = "_____demoOnlyPasswordAttrString___________";
    public LoginBean() {
        super();
    public void setUsername(String _username) {
        this._username = _username;
    public String getUsername() {
        return _username;
    public void setPassword(String _password) {
        this._password = _password;
    public String getPassword() {
        return _password;
  public void onLoginAction(DialogEvent dialogEvent) {
      if (dialogEvent.getOutcome()== DialogEvent.Outcome.ok ){
        doLogin();
      else{
        //cancel, do nothing
  private String doLogin() {
      String un = _username;
      byte[] pw = _password.getBytes();
      FacesContext ctx = FacesContext.getCurrentInstance();
      HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
      try {         
          CallbackHandler handler = new URLCallbackHandler(un,pw);
          Subject mySubject = weblogic.security.services.Authentication.login(handler);
          weblogic.servlet.security.ServletAuthentication.runAs(mySubject, request);
          ServletAuthentication.generateNewSessionID(request);
          //save username and password. Note that in a real application this is
          //*NOT* what you should do unencrypted. Note that this is a demo
          //Store username , password in session for later use
          //when connecting to Twitter
          ADFContext adfctx = ADFContext.getCurrent();
          Map sessionScope = adfctx.getSessionScope();
          sessionScope.put(this.USERNAMETOKEN, un);
          sessionScope.put(this.PASSWORDTOKEN, new String(pw));
            String loginUrl;
            loginUrl = "/adfAuthentication?success_url=/faces" + ctx.getViewRoot().getViewId();
          HttpServletResponse response = (HttpServletResponse)ctx.getExternalContext().getResponse();
          sendForward(request, response, loginUrl);
      } catch (FailedLoginException fle) {
          FacesMessage msg =
              new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password",
                               "An incorrect Username or Password" +
                               " was specified");
          ctx.addMessage("d2:it35", msg);
      } catch (LoginException le) {
          reportUnexpectedLoginError("LoginException", le);
      return null;
  private void sendForward(HttpServletRequest request,
                           HttpServletResponse response, String forwardUrl) {
      FacesContext ctx = FacesContext.getCurrentInstance();
      RequestDispatcher dispatcher = request.getRequestDispatcher(forwardUrl);
      try {
          dispatcher.forward(request, response);
      } catch (ServletException se) {
          reportUnexpectedLoginError("ServletException", se);
      } catch (IOException ie) {
          reportUnexpectedLoginError("IOException", ie);
      ctx.responseComplete();
  private void reportUnexpectedLoginError(String errType, Exception e) {
      FacesMessage msg =
          new FacesMessage(FacesMessage.SEVERITY_ERROR, "Unexpected error during login",
                           "Unexpected error during login (" + errType +
                           "), please consult logs for detail");
      FacesContext.getCurrentInstance().addMessage("d2:it35", msg);
      e.printStackTrace();
    public String logout() {
        FacesContext ctx = FacesContext.getCurrentInstance(); 
        ExternalContext ectx = ctx.getExternalContext();
        String logoutUrl = "faces" + ctx.getViewRoot().getViewId();
        ((HttpServletRequest)ectx.getRequest()).getSession().invalidate();
        try {
            ectx.redirect(logoutUrl);
        } catch (IOException e) {
            e.printStackTrace();
        return null;
}Home managed bean
package demo.view;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.el.ELContext;
import javax.el.ExpressionFactory;
import javax.el.ValueExpression;
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
import oracle.adf.model.binding.DCIteratorBinding;
import oracle.adf.view.rich.component.rich.RichPopup;
import oracle.adf.view.rich.component.rich.data.RichTree;
import oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout;
import oracle.adf.view.rich.component.rich.nav.RichCommandImageLink;
import oracle.adf.view.rich.context.AdfFacesContext;
import oracle.jbo.Key;
import oracle.jbo.uicli.binding.JUCtrlHierBinding;
import oracle.jbo.uicli.binding.JUCtrlHierNodeBinding;
import oracle.jbo.uicli.binding.JUCtrlHierTypeBinding;
import oracle.jbo.uicli.binding.JUIteratorBinding;
import org.apache.myfaces.trinidad.component.UIXSwitcher;
import org.apache.myfaces.trinidad.event.SelectionEvent;
import org.apache.myfaces.trinidad.model.CollectionModel;
import org.apache.myfaces.trinidad.model.RowKeySet;
public class HomeManagedBean {
    private RichTree locationsTree;
    private UIXSwitcher formSwitcher;
    private RichPanelGroupLayout formPanelGroup;
    private RichPopup popupP1;
    public HomeManagedBean() {
    public void setLocationsTree(RichTree locationsTree) {
        this.locationsTree = locationsTree;
    public RichTree getLocationsTree() {
        return locationsTree;
   * Custom managed bean method that takes a SelectEvent input argument to generically
   * set the current row corresponding to the selected row in the tree. Note that this
   * method is a way to replace the "makeCurrent" EL expression (#{bindings.<tree binding>.
   * treeModel.makeCurrent}that Oracle JDeveloper adds to the tree component SelectionListener
   * property when dragging a collection from the Data Controls panel. Using this custom
   * selection listener allows developers to add pre- and post processing instructions. For
   * example, you may want to enforce PPR on a specific item after a new tree node has been
   * selected. This methods performs the following steps
   * i.   get access to the tree component
   * ii.  get access to the ADF tree binding
   * iii. set the current row on the ADF binding
   * iv.  get the information about target iterators to synchronize
   * v.   synchronize target iterator
   * @param selectionEvent object passed in by ADF Faces when configuring this method to
   * become the selection listener
   * @author Frank Nimphius
  public void onTreeSelect(SelectionEvent selectionEvent) {
    /* REPLACES */
    //#{bindings.allLocations.treeModel.makeCurrent}
   /* custom pre processing goes here */
  //get the tree information from the event object
  RichTree tree1 = (RichTree) selectionEvent.getSource();
  //in a single selection case ( a setting on the tree component ) the added set only
  //has a single entry. If there are more then using this method may not be desirable.
  //Implicitly we turn the multi select in a single select later, ignoring all set
  //entries than the first
  RowKeySet rks2 = selectionEvent.getAddedSet();
  //iterate over the contained keys. Though for a single selection use case we only expect
  //one entry in here
  Iterator rksIterator = rks2.iterator();
  //support single row selection case
  if (rksIterator.hasNext()){
    //get the tree node key, which is a List of path entries describing the
    //location of the node in the tree including its parents nodes
    List key = (List)rksIterator.next();
   //get the ADF tree  binding to work with
    JUCtrlHierBinding treeBinding = null;
    //The Trinidad CollectionModel is used to provide data to trees and tables. In the
    //ADF binding case, it contains the tree binding as wrapped data
    treeBinding = (JUCtrlHierBinding) ((CollectionModel)tree1.getValue()).getWrappedData();
    //find the node identified by the node path from the ADF binding layer. Note that
    //we don't need to know about the name of the tree binding in the PageDef file because
    //all information is provided
    JUCtrlHierNodeBinding nodeBinding = nodeBinding = treeBinding.findNodeByKeyPath(key);
    //the current row is set on the iterator binding. Because all bindings have an internal
    //reference to their iterator usage, the iterator can be queried from the ADF binding
    //object
    DCIteratorBinding _treeIteratorBinding = null;
    _treeIteratorBinding = treeBinding.getDCIteratorBinding();
    Key rowKey = nodeBinding.getRowKey();
    JUIteratorBinding iterator = nodeBinding.getIteratorBinding();
    iterator.setCurrentRowWithKey(rowKey.toStringFormat(true));
    //get selected node type information
    JUCtrlHierTypeBinding typeBinding =  nodeBinding.getHierTypeBinding();
    // The tree node rule may have a target iterator defined. Target iterators are
    // configured using the Target Data Source entry in the tree node edit dialog
    // and allow developers to declaratively synchronize an independent iterator
    // binding with the node selection in the tree.
    String targetIteratorSpelString = typeBinding.getTargetIterator();     
    //chances are that the target iterator option is not configured. We avoid
    //NPE by checking this condition
    if (targetIteratorSpelString != null && !targetIteratorSpelString.isEmpty()) {
      //resolve SPEL string for target iterator
      DCIteratorBinding targetIterator = resolveTargetIterWithSpel(targetIteratorSpelString);
      //synchronize the row in the target iterator
      targetIterator.setCurrentRowWithKey(rowKey.toStringFormat(true));
    /********************* DISPLAY INPUT FORM FOR SELECTED NODE **********************/
    //get the name of the selectected tree node object. In this sample the value is
    //adf.sample.model.DepartmentsView,adf.sample.model.EmployeesView or
    //adf.sample.model.LocationsView
    String selectedNodeObjectRef = typeBinding.getStructureDefName();
    //write selected node object reference to session
    AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
    Map viewScope = adfFacesCtx.getViewScope();
    viewScope.put("nodeRef",selectedNodeObjectRef);
    //refresh form display
    adfFacesCtx.addPartialTarget(this.getFormPanelGroup());
   * Helper method to resolve EL expression into DCIteratorBinding instance
   * @param spelExpr the SPEL expression starting with ${...}
   * @return DCIteratorBinding instance
  private DCIteratorBinding resolveTargetIterWithSpel(String spelExpr){
   FacesContext fctx = FacesContext.getCurrentInstance();
   ELContext elctx = fctx.getELContext();
   ExpressionFactory elFactory = fctx.getApplication().getExpressionFactory();
   ValueExpression valueExpr = elFactory.createValueExpression(elctx, spelExpr,Object.class);
   DCIteratorBinding dciter = (DCIteratorBinding) valueExpr.getValue(elctx);  
   return dciter;
    public void setFormPanelGroup(RichPanelGroupLayout formPanelGroup) {
        this.formPanelGroup = formPanelGroup;
    public RichPanelGroupLayout getFormPanelGroup() {
        return formPanelGroup;
    //based on the current state of the login link,
    //log user in or out
    public void onLoginLogout(ActionEvent actionEvent) {
        RichCommandImageLink rcil = (RichCommandImageLink) actionEvent.getComponent();
        String commandLinkIcon = rcil.getIcon();
        if (commandLinkIcon.indexOf("glbl_login_msg.gif") >0){
          //login
          RichPopup.PopupHints hints = new RichPopup.PopupHints();
          popupP1.show(hints);
        else{
          //logout        
          FacesContext fctx = FacesContext.getCurrentInstance();
          ExternalContext ectx = fctx.getExternalContext();
            try {
                ectx.redirect("/adfAuthentication?logout=true&end_url=/faces/home.jspx");
            } catch (IOException e) {
                e.printStackTrace();
    public void setPopupP1(RichPopup popupP1) {
        this.popupP1 = popupP1;
    public RichPopup getPopupP1() {
        return popupP1;
}Source code in home page
<af:commandImageLink text="Logout" id="commandImageLink1"
                                                          icon="#{resource['images:glbl_logout.gif']}"
                                                     rendered="#{securityContext.authenticated}" partialSubmit="true"
                                                     immediate="false"
                                                          inlineStyle="font-family:Arial, Helvetica, sans-serif; font-size:11px; color:White;"
                                                             action="#{LoginBean.logout}"/>
                                     <af:commandImageLink text="Login" id="cil1"
                                                          icon="#{resource['images:glbl_login_msg.gif']}"
                                                     rendered="#{!securityContext.authenticated}"
                                                          inlineStyle="font-family:Arial, Helvetica, sans-serif; font-size:11px; color:White;"
                                                          action="#{LoginBean.toString}">
                                    <af:showPopupBehavior popupId="p1" triggerType="action" align="startAfter"
                                                          alignId="cil1"/>
                                </af:commandImageLink>
                                <af:popup id="p1" binding="#{HomeManagedBean.popupP1}">
                                    <af:dialog id="d2" title="Please Login" type="okCancel" closeIconVisible="false"
                                               modal="true" stretchChildren="none"
                                               dialogListener="#{LoginBean.onLoginAction}">
                                        <af:panelFormLayout id="pfl5">
                                            <af:inputText label="Username" id="it34" columns="20"
                                                          value="#{LoginBean.username}"/>
                                            <af:inputText label="Password" id="it35" secret="true" columns="20"
                                                          value="#{LoginBean.password}"/>
                                            <af:message id="m2" for="it35" messageType="error"/>
                                        </af:panelFormLayout>
                                    </af:dialog>
                                </af:popup>Other settings:
1. No welcome page set in web.xml
2. No redirect page set in jazn-data.xml
3. Users, Enterprise and application roles set in ADF Security
4. Managed Beans registered in adfc-config.xml
Help greatly appreciated!

Without going through all the code:
the visibility of the links depends on
logout:
rendered="#{securityContext.authenticated}"
login:
rendered="#{!securityContext.authenticated}"This means, if you see the logout link, but not the loging link, the framework assumes that you are logged in already.
Investigate in this direction.
Timo

Similar Messages

  • Oracle ADF 11g – Authentication using Custom ADF Login Form Problem

    Hi Guys,
    I am trying to Authenticate my adf application using custom Login Form.
    following this..
    http://www.fireboxtraining.com/blog/2012/02/09/oracle-adf-11g-authentication-using-custom-adf-login-form/#respond
    But my Login Page is not Loading.I think its sending request in chain.my jdev version is 11.1.1.5.Any Idea.
    Thanks,
    Raul

    Hi Frank,
    I deleted bounded code and In another Unit Test I created a simple login.jspx page and applied form based authentication but still facing same problem means something wrong in starting.
    My login.jspx page is
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" >
          <af:form id="f1" >
            <af:panelFormLayout id="pfl1">       
              <af:inputText label="USERNAME" id="it1"
                            />       
              <af:inputText label="PASSWORD" id="it2"
                              />
              <af:commandButton text="LOG IN" id="cb1" />
              <f:facet name="footer">       
              </f:facet>                 
            </af:panelFormLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    Don't know wht real problem is

  • Web Center app with ADF Security - login problem

    I have a custome Oracle Web Center app.
    I have a page.html with an embedded login form posting to j_security_check. I've configured the ADF security policies to redirect to a JSPX on successful login.
    When I try the correct username/password, I get redirected not to the page I defined in ADF, but to the root page http://127.0.0.1:7101/MyApp-ViewController-context-root/
    and i get
    Error 403--Forbidden
    I've checked the weblogic.xml as per http://andrejusb.blogspot.com/2009/12/solving-error-403-forbidden-in-adf.html, all the required entries are there.
    This works fine if i use a Login link with
    destination="#{'/adfAuthentication?login=true&amp;end_url=/faces/postLogin.jspx'} "
    which redirects to the default login.html and then to the right page. I've copied the form from the default login.html into my master HTML page.
    Hope my question is clear. Any suggestions why it is going to the wrong URL after login.
    Is there anything specific I should see in the jazn-data.xml or web.xml regarding the post-login URL since i cant see that in either.
    P.S. Have been advised to try here when I originally asked this in the WebCenter forum. Web Center app ADF Security - login problem
    Edited by: new_to_webcenter on 18-Jan-2011 05:25

    Thanks for your response Frank.
    The web.xml has
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>adfAuthentication</web-resource-name>
    <url-pattern>/adfAuthentication</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>valid-users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/login.html</form-login-page>
    <form-error-page>/error.html</form-error-page>
    </form-login-config>
    </login-config>
    When configuring ADF Security via JDev , I chose "Redirect upon successful authentication" to the Welcome Page
    "/faces/postLogin.jspx"
    this then adds into web.xml
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>/faces/postLogin.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    So the sequence which works is:
    Login via the '/adfAuthentication?login=true&end_url=/faces/postLogin.jspx' and this redirects to login.html (OOTB form which posts to j_security_check) and then to the postLogin.jspx
    I'm trying to do away with a Login link, and trying the simple login form embedded in my page alongwith other content.
    So should the form be posting to j_security_check directly or to the adfAuthentication ?

  • Oracle 10g express edition browser login problem

    Hi
    I installed oracle 10g express edition and after installing successfully logged in browser , unlocked hr login and also created one form then I shutdown the database and rebooted my pc and since then when I try to login to "go to Database Home page" after starting database , I get a cookie 127.0.0.1 with username and password, First of all I am not sure what username/password it is expecting, I believe it requires my Windows XP username and password , I tried to enter couple of times my pc login username which has administrator privileges, I also checked it has ora_dba group but after entering pc username , password browser opens saying "unauthorized". I created another os user and tried with that still same. I tried entering oracle password "SYSTEM" and password for it but still could not login, I tried HR username password still nothing.
    I tried disabling firewall but still same issue. I tried to re-install two time but still same .
    Start database dos prompt does show all the process are started successfully .
    I also did ping for 127.0.0.1 and it does ping.
    I tried everything what I knew.
    Can anyone please help me ..to resolve this issue .

    Hi
    This is how I resolved the browser login problem .
    I checked the listener log
    C:\OracleXE\app\oracle\product\10.2.0\server\NETWORK\log
    And found the error
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
    TNS-00512: Address already in use
    I have another version for oracle installed on my pc .
    I ended both the oracle process (Oracle.exe) through the Task Manager
    Then manually started “OracleServiceXe” service through Component Services
    Control Panel – Performance & Maintenance – Administrative – Component Services
    Then did following
    Programs – Oracle Database10g ExpressEdition – Start Database
    Programs – Oracle Databse10g ExpressEdition – Go to Database Homepage –
    Enter username SYSTEM
    Enter password xxxxxx … whatever given at the time of installing.
    And I did successfully login to the browser .
    Hope this will help to those of you who have run into similar problem which I faced
    Good Luck .
    A. Patil

  • Getting error in ADF Login security

    Hi Team,
    I am making security login mechanism.
    I referred - Oracle ADF 11g Security - Custom ADF Login Form - Part 1 (High) and part 2 video from youtube.
    I am not getting any error in my log but after entering username and password its giving me error-
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.4.2 401 Unauthorized*
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.
    Can you please suggest me how to resolve this.
    Jdev :- 11.1.1.6.0
    Thanks in advance.
    Ramit Mathur

    Hi.
    Check the grants/permissions in jazn-data
    After you log in, the security framework checks the user's right to access the resource. For example, if you receive an unexpected 401 unauthorized user error, verify that you have created grants as suggested in Section 30.11.4, "Best Practices for Working with Oracle ADF Security."
    http://docs.oracle.com/cd/E14571_01/web.1111/b31974/adding_security.htm#BABFIHAF

  • IMac login problems on any 10.6 update

    I have a 24" iMac that is 2 years old. After using snow leopard on my husband's new macbook I decided to get it for my imac. The base install of 10.6 works fine but of course it immediately wants to be updated to a new release. If I update it past the base install from the CD I get login problems.
    What happens is that the desktop appears and the finder menu is at the top but the date and network status etc - everything from the top right of the menu bar is missing. The computer will not move forward. No amount of waiting or button pushing will improve the situation.
    Sometimes I could log in to another account but then it would start happening on that acocunt too. I made myself a new account and it started happening on that too. Every time if I did a re-install of the base 10.6 from the CD it went back to working fine. I would have to say no to every update of 10.6 on software update. This has been going on for 6 months. I thought maybe with 10.6.4 they fixed it but it did it again.
    yesterday I did a fresh install. Thinking it was caused by my old quicken 2007 or parallels (though its v 5) or something else that has some bit that starts at login I formatted the HD , installed 10.6 fresh and installed nothing but ilife 9. I downloaded the 10.6.4 update and it still happens. I logged off my account and logged back in to test and it froze again. I am at my wits end. The only thing I saved from my old profile was my mail folder. I can find nothing else to fix. Any ideas?

    SamNS wrote:
    the desktop appears and the finder menu is at the top but the date and network status etc - everything from the top right of the menu bar is missing.
    Do things behave better if you boot into "safe mode" by holding down a shift key while your Mac is booting?
    http://support.apple.com/kb/HT1455

  • How to authenticate AD LDAP user in Oracle ADF login?

    Hi All,
    I have some requirement in ADF web-application.here one simple adf application they want to authenticate with AD LDAP user, and they want to see logged user details from LDAP.
    for example after user logged in from adf login page, in next page he can able to see his details like first name,last-name,email,group,role, working phone like some details in next page.
    let me know possibles, to active this requirements.give me some solution to make this simple.
    Thanks,
    Siva

    thanks for quick reply!
    yeah just now i went through the same blow.so i decided to follow java base integration.here we need to pass username and password from UI right,while i am trying the something. I had some here with rich text binding.
    I am unable to set the username and password dynamic if I use Richtext type input text in ADF login page.
    I am newable to this integration.can you please point to some example to LDAP integration with adf using java. or if not complex can you please send me LDAP integration example which u executed(to my mail) u can get from my profile.
    thanks & Regards
    Siva

  • Simultaneous login problem

    Hi 
    I am having simultaneous login problems. In the past I have been able to sign into my skype account on both my Mac Book Pro and my Windows 7 desktop PC. However since I had to change my password I can only login into one machine at a time now. Also when I change my password on the desktop PC I can only sign into that skype / computer. Whenever I type the same account name and same exact password on my Mac Book Pro, it says it doesn't recognize my sign-in details but I am 100% sure that I typed it in exactly the same way as I did on my desktop. Another is that when I reset my password on my Mac Book those details won't work on the Desktop PC and vice-versa.
    I would like to know what is the problem in this situation, I am not sure if this is an application error or a networking error where the account details are not signing in from a different IP or MAC address.
    Please and thank you!

    "The load balancing was already functional:"
    Do you have a description how to do that?
    I Would like to know how.
    "so ALL traffic, not going to the LAN network and so over this interface, went out on the DMZ interface, with source IP from LAN."
    If you put the VPN servers behind 1-1 NAT instead they will use the firewall as GW and the VPN clients will get at your remote sites/LAN IF you add routing definitions in VPN config what networks are reachable through VPN.
    Or you keep servers as they are but also add add more routing definitions in VPN AND static routes to each server with the firewall as gw to those remote networks. Default gw will still be through the DMZ IPs though.
    The problem with more than one VPN client from behind same IP address is, with your current server settings, most likely because of the client side NAT router isn't coping with the task. Your public IP VPN server(s) should mean NAT VPN problem is at the other end (customer/client network router/firewall).
    If two VPN clients behind same NAT router connected to different servers at your end, "12.34.56.80" and "12.34.56.81" (both are public IPs?) respectively I believe at least two should be able to connect.
    3G/4G modems isn't an option?
    Maybe try bringing your own tested working portable router (ethernet/wifi maybe includes a VPN client that connect to your servers) to the customer and put it temporarily on their LAN? There are these small new 3G/WiFi routers too. Depends on wether you need to be connected to customer LAN or not.
    Try other VPN solution, SSL or OpenVPN?
    Use both PPTP and L2TP simultaneously (PPTP could be troubelsome if GRE/TCP 1723 passthrough is disabled)?

  • Skype login problem on Nokia E5

    I have login problem in Nokia E5 kindly help me to make successful login

    i tried your method but my web browser doesnt give me the option:  'yes,allow always'. it only gives "continue"and "certificate details. no "yes, allow always." :/
    how can i proceed pls?

  • Roaming profile login problem to the domain

    Hi all,
    Domain Environment, DC Server with Server OS of Microsoft Server 2008 R2 Standart SP1.
    Roaming profiles unable to login to the domain on couple of PC's. They just inserting the password, starting to wait to log in with "Welcome"
    on the screen, its thinking and looks like hes gona open the user's desktop but in this secong its just logging out back to the login screen.
    Thanks for your help.
    Best Regards,
    Vlad Dodin

    Hi Vlad Dodin,
    I want to get more information about this issue.
    Had you got any error messages during the login process?
    If no domain users can log into those PCs?
    If this is just a login problem in those PCs and there is no error Roaming profiles error during the login process, this article may be helpful for you:
    How To Fix Stopping, Freezing, and Reboot Issues During Windows Login:
    http://pcsupport.about.com/od/findbysymptom/ht/windows-freezes-reboots-during-login.htm
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information
    I hope this helps.

  • ICloud login problem on Apple Mail App

    So is Apple considering its own Mail App on the Mac to be a third part app? Been having login problems since they started requring two step verification on third party apps. Once I shut off my two step verification on my iCloud account it worked fine.

    You shouldn't need to turn off two-step verification or use an app-specific password for your Mac mail to work with iCloud (mine works fine).  Try turning tow-step verification back on.  If Mail doesn't work, go to System Preferences>iCloud, uncheck Mail, restart your Mac, then go back and check Mail again.

  • What's causing these power-up and login problems?

    I recently switched from Tiger to Leopard (installed by the repairers) and have encountered some power-up and login problems. Basically, my set up is that the computer automatically logs into a non-admin account, launches a Safari page, and then that's it - after checking the webpage, I logout of that account, into my main account, and work from there.
    In Tiger :
    A few times quite recently the computer would freeze, either while Safari was launching / opening the webpage, or when I tried to logout. Force Quit didn't work (total freeze) so I would force power-off and switch on again, and things would be fine.
    In Leopard, one of the following has begun to happen, about two weeks after I began using it:
    • The computer reaches the grey screen with an endlessly rotating gear wheel. (Power off / on again)
    • The computer logs in to the account; after selecting 'Log out...' I log out, but instead of giving me the login screen, it logs straight back into that account, and this happens every time I try 'Log out...'. (Use Fast User Switching instead to reach main account, where one or two software glitches prompt a Restart) This has happened twice.
    • This morning, the computer reached the blue screen where the pointer appeared - faded - appeared - faded etc endlessly (Power off / on again).
    Clearly it is not the System - experiencing problems in both Tiger and Leopard proves that. Nor is it my HD - I've had a new one installed. It must therefore be a setting in my login account, though it's hard to see what : I only use that account for login, and a single launch of Safari, and it's been ok for years.
    Should i create another login account and see if that solves the problem? By the way, the repairers did not give me any Leopard install disks, so please don't suggest that method of diagnosis. I only have the original Tiger disks.

    christopher rigby1 wrote:
    2. I don't know what Apple app(s) you refer to? As I said I've upgraded all the free ones, and iLife '06 is working (and I have the disks).
    Look in your Applications folder: Any Apple app there, except for the ones you've mentioned. And all the built-in parts of OSX.
    3. They told me that I CAN do a full restore from a Time Machine backup (via Disk Utility apparently).
    That should tell you something about the quality of their advice.
    See: [Mac OS X 10.6 Help Recovering your entire system|http://docs.info.apple.com/article.html?path=Mac/10.6/en/15638.html].
    Or the *Restoring your entire system from a backup* section, towards the bottom of [Mac 101: Time Machine|http://support.apple.com/kb/HT1427].
    Or look up +*Time Machine+* in Mac Help.
    Or #14 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum).
    And if there's a problem with your installation of OSX (which seems likely), or the Apple apps, you can't reinstall them, either.
    4. Having spent hours and hours getting the machine to work properly (upgrading Mail and sorting out Mail problems, upgrading Safari, re-upgrading iTunes and sorting out problems), I'm not prepared to spend hours and hours doing the whole thing in reverse to restore Tiger, including learning HOW to do that.
    Correct; unless you have backups of the Tiger system, that's impractical at best.
    So unless anyone has a reasonably simple, straightforward answer as to what this problem might be, it looks like I must live with it.
    You have some sort of problem with your Mac and it's not going to get better on it's own. Most likely, it will get worse.
    If you haven't, try the things recommended by Dale.
    Also try running the +Apple Hardware Test.+ It's on one of the disc(s) that came with your Mac, and is tailored to it's particular hardware. The disk should have +Apple Hardware Test+ and instructions for running it printed in very tiny type.
    I sympathize with your situation, but the repair shop violated the Apple license, and put you in an untenable situation. If they won't correct it by supplying the Leopard disc, you really should report them to Apple.
    You need to purchase a retail copy of Leopard (not the gray discs that came with another Mac; they won't boot yours). They're not shown on the Apple Store website anymore, and eBay and other sellers get a premium for them, but AppleCare should have them for the original $129.

  • Keychain "login" Problems   Can't remember my Keychain password.  Admin Password also does not help. Mac Mini(Late 2012) OS 10.10.2

    Series of Keychain "Login" Problems.
    Hardware: Mac Mini (Late 2012)  2.5 GHz Intel COre i5,  4GB 1600 MHz DDR3
    OS X : 10.10.2 upgraded yesterday
    Mail wants to use "login" keychain.   I enter Password but no success.
    CalendarAgent wants to use "login" keychain.   I enter Password but no success.
    Com.apple.internetaccounts.xpc wants to you "login" keychain. Password, not successful.
    At some point in past days I was offered to rename Keychain, so I did.
    In Keychain Access, I deleted "Login"    and selected Delete references.
    Just now I went into ~/Library/Keychains and found Login.Keychain and Login_renamed.Keychain.
    I have renamed Login.keychain -> Login-old.keychain.
    I renamed Login_renamed.keychain-> Login.Keychain.
    In Keychain Access, I added "Login" back.  This should be the renamed keychain.
    Original problems still persist.  No noticeable changes.
    Keychain wants to use the "Login" keychain.   Can't remember my password or it is incorrect.
    Help?
    TITLprods

    I turned off and turned on the computer.  When restarting it said that it could not use the Login and did I want to create a new or use and alternate?  I created new and for the moment things seem to be working under the command of the "New Login"
    That still doesn't really alleviate the problem of the old login.

  • AOL email Login problem The requested resource (webmail/_cqr/LoginSuccess.apspx) is not available

    AOL email Login problem on Ipad 4, error message reads:
    The requested resource (webmail/_cqr/LoginSuccess.apspx) is not available.
    Apache Tomcat/7.2.27
    If I remove AOL app than re-add it. sometimes I get a day or so before the error message returns.
    My Aol email is accessable from my Iphone OK.
    Seaches for this error solution have been fuitless.
    Does anybody have any ideas?
    VOGO

    Add this statement to struts-config.xml
    <forward
    name="success2" path="/loginSuccess2.jsp"/>
    Before trying on tiles, you can add this statement in the method for handling the form in the class LoginAction
    return mapping.findForward("success2");

  • Login problems using safari5.1

    Hi there. I’m on a macbook pro, running safari. I just updated to safari 5.1, and since then all my automatic logins have gone. Ticking the ‘keep me logged in’ box isn’t working, and I have to re-enter all the details every time. Any ideas? Cheers.

    Hi asailor, Welcome to Apple's Users Help Users
    Forums.
    Were you in S 2.0.4 prior to 2 days ago when the prob
    started?
    Maybe the bank was doing maintenance. What bank is
    it? Maybe someone will chime in.
    I was using S 2.0.4 prior to the login problem. The bank rep said it
    was a Safari issue. I reported the bug to Apple. Yesterday, I was able to login and today I can't. ndbt.com is the bank's website.
    Thanks for you help!

Maybe you are looking for