Disconnect the Code: Andrejus VS VS VS Himo Duncan of other and best knockout!

JDeveloper 12.1.2

I'm trying to find the best journal / log for my application.  To do, I'm against the best minds of Oracle each other!

My research has updated a number of different approaches, everyone would be able to offer the best solution.  I am a disconnection with OAM and there will be some magic

code for this, but I found at least 4 different ways. Some may be dated.

I am the security configuration based on the ADF security: authentication of Client HTTPS (Public Key Certificate) is the most secure login.

https://community.Oracle.com/message/10490285#10490285

What Code of disconnection can deliver the best knockout and Tris to 12 c? (or OAM).

/ / Corner one: ANDREJUS has its logout in connection http://andrejusb.blogspot.com/2010/11/things-you-must-know-about-ADF-faces.html

< af:goLink text = "Logout" id = "gl1".

destination = "/ adfAuthentication?" Logout = true & amp; "end_url = / face/hand" / >

The magical Logout button.

public String doButtonAction() {}

/ / doHimosLogoutSessionGo2Target ("http://intranet.xxx.edu/" "");

/ / doDuncansADFLogout ("http://intranet.xxx.com/" "");

BuildLogOutURL();

doLogOutADFAuthentification();

LogOutCloseWindow();

Returns a null value.

}

/ / Two corner: Himo - made a session.invalidate () http;    / /https://community.oracle.com/message/9376812#9376812

public String doHimosLogoutSessionGo2Target (String target) {}

Place a button on the page and bind it to a bean method.

There you invalidate the session and redirect the user to another page

xxxUtils.logMsg ("Johnny", "isAuthenticated:" + isAuthenticated());

ExternalContext ectx is FacesContext.getCurrentInstance () .getExternalContext ();.

HttpServletResponse response = ectx.getResponse () (HttpServletResponse);

String url = ectx.getRequestContextPath () + "/ www";

HttpSession session = ectx.getSession (false) (HttpSession);

session. Invalidate();

try {}

response.sendRedirect (url);

FacesContext.getCurrentInstance () .responseComplete ();

xxxUtils.logMsg ("Johnny", "isAuthenticated:" + isAuthenticated());

} catch (IOException e) {}

e.printStackTrace ();

}

Returns a null value.

}

/ / In the three corner: Duncan is a /adfAuthentication? logout = true url (ok, it's a representation of java Andrejus link) / /https://blogs.oracle.com/groundside/entry/logout_with_adf_security_say

{} public void doDuncansADFLogout (String toURL)

ExternalContext ectx is FacesContext.getCurrentInstance () .getExternalContext ();.

Get the Application context root

LogoutURL StringBuilder = new StringBuilder (ectx.getRequestContextPath ());

Add the fixed reference to the servlet security ADF

logoutURL.append ("/ adfAuthentication?") Logout = true & end_url = ");"

And your final destination goes here

In this case an activity to display hard-coded but this bit would be variable

logoutURL.append("/faces/login");

And do the redirection

try {}

ectx. Redirect (logoutURL.ToString ());

} catch (IOException e) {}

xxxUtils.logMsg ("Duncan", 'logout problem');

And add your choice of new diagnoses

e.printStackTrace ();

}

}

In the corner four ADF authentication servlet - this could be the representation of java code Duncan and Andrejus / /http://java2go.blogspot.com/2012/05/oracle-adf-with-sso-definitive-guide.html

public void doLogOutADFAuthentification() {}

xxxUtils.logMsg ("doLogOutADFAuthentification", "isAuthenticated:" + isAuthenticated());

AuthenticationService service = AuthenticationServiceUtil.getAuthenticationService ();

Orig String logoutURL = "/ home/face/jspx"; the end_url

service. Logout (endURL, null);

xxxUtils.logMsg ("doLogOutADFAuthentification", "isAuthenticated:" + isAuthenticated());

}

/ / Five corner OAM SSO Logout that seems to appeal to the "global" disconnection which is part of the OAM

public String OAMSSOLogout() {}

        // http://fortunefusionminds.blogspot.com/2013/07/how-to-perform-ssosingle-sign-on-logout.html

try {}

ExternalContext ectx is FacesContext.getCurrentInstance () .getExternalContext ();.

ectx. Redirect("/oamsso/logout.html?end_url=/portal.html");

} catch (Exception e) {}

System.out.println ("ERROR:" + e.getMessage () + "while connecting:" + e);

}

return "return";

}

In corner Six

Close the tab

Work any.  farm tab, but if you have other tabs open, then go to the url of the application,

You can go with no authentication.

public String LogOutCloseWindow() {}

xxxUtils.logMsg ("LogOutCloseWindow", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");

xxxUtils.logMsg ("Johnny", "isAuthenticated:" + isAuthenticated());

try {}

FacesContext facesContext = FacesContext.getCurrentInstance ();

org.apache.myfaces.trinidad.render.ExtendedRenderKitService = service

org.apache.myfaces.trinidad.util.Service.getRenderKitService (facesContext, org.apache.myfaces.trinidad.render.ExtendedRenderKitService.class);

service.addScript (facesContext, "window.close (); window.opener.location.href = window.opener.location.href; ») ;

} catch (Exception e) {}

System.out.println ("ERROR:" + e.getMessage ());

}

Returns a null value.

}

check if the user is authenticated

{} public boolean isAuthenticated()

Boolean isAuthenticated = false;

try {}

ExternalContext ectx is FacesContext.getCurrentInstance () .getExternalContext ();.

isAuthenticated = ectx.getUserPrincipal ()! = null;

} catch (Exception e) {}

System.out.println ("ERROR: aisMainBean.isAuthenticated ()" + e.getMessage ());

e.printStackTrace ();

}

isAuthenticated return;

}

I haven't checked all the "solutions" you provided. I would say the answer depends.

If you use OAM, you must connect using the given link OAM. If you log out of just invalidate the session, it will save you all but it can prevent some living resources. This can cost you a lot of memory until the sessions are removed (I hope) by another code, which is not dependent on your application.

Even for other solutions: If you connect by using a special technique, you should sign out by using the same. This should help to manage resources better.

Always look at the code in the global context.

Timo

Tags: Java

Similar Questions

  • With the code to run the session timeout

    I saw this problem asked and addressed on many other furums, but nobody came with a response, yet.

    I am trying to disconnect a user and end their session when they leave my site. How can I know when they leave my site? The only way I know is to wait a few seconds, and if they make a request to the server, they are gone. Disconnect them.

    I tried to just do a < cfajaxproxy > call to a cfc that returns just their application.sessiontimeout to 5 seconds, but it does not work. The session has no expiration time. I need to connect the outside user and the disconnection notice in a newspaper on the server and a logfile (not my idea. "This is the requirement of the customer.) I can get the cfc that I call by the tag < cfajaxproxy > to run log entries and I could kill the session here, but I need to give the page time to update and see if the user requests a page of my site or on an outside website. The problem is that if I do those things within the time of announcement of EFA execution with a counter or loop dlay, the page is not unload until the end of the call of CFCs. So, no matter how long lasts the delay, the session is already cleared bfore that loading of the next page.

    It's the old problem of want to logoff user when they leave the site, but not having is not a way to know where is located the landing page or the ability to delay a server action while the browser passes to the next query. If I can get a delay at work, the user can request a page on my site and I can reset the session before timeout. If they go to another site, eut session outside and they disconnects.

    Any help will be GREATLY appreciated. I spent days on this.

    Thank you

    CFGunny

    I had completely forgotten this post. I know it is very old, but I thought I'd post the real answer. The key was I needed establish if the user has left my site, unloading not only the current page and disconnect them if you leave my site. It is in fact not possible because there is no way to determine the URL TO which the browser will due to browser security restrictions, so I don't know if it's going to another page on my site or on another site. It's a little more complicated that just end a session when the page unloads. I didn't disconnect the user or kill their session each time that an empty page.

    The answer was to write a 'onUnload()' script that records the time of the unload event and the user's session ID (I actually used our user ID and put it in the database) and write a scheduled task that verifies all entries in the database against the current time and disconnects any users having a longer period, say 30 seconds. In order to avoid disconnecting all users (running every two minutes with a maximum time of 30 seconds, return all users), I wrote a script block in the onRequestStart in Application.cfc that checks the database for a record for this user and function, if the record exists, compares the time registration at the present time (now()). If the difference is greater than 30 seconds, the recording is marked and, if still connected, the user is disconnected and have to log in again. This ensures that the user is disconnected after thirty seconds, because the scheduled task runs only every two minutes. If the time is less than 30 seconds, the user continues without interference. Thus, if the user went to the site for more than two minutes, the scheduled task handles the database and actions disconnect. If the user is off-site for more than thirty seconds, but less than two minutes, the script in the onRequestStart function does the work.

    Thirty seconds time was a requirement of the customer and gives enough time for the next page to load, even if the user is on a slow network, but is short enough so that the user probably not going to another site, first. This method also allows the detailed collection of metrix, including the user, how many times they visit, how long they stay (on each page and an agregate), what URL, they came, etc., as well as normal metrix on-site as what pages they visited. These metrix became very important to the customer, is an agency of the federal Government and that they must justify their existence every year to get funding for next year, which part was my paycheck.

    I apologize to not include the code, but I left this project a year ago and do not have the code, not more. If I did it again, I'd probably write it a little differently (cleaning and CFScript), anyway. I hope this helps someone.

  • Why Apple has the code of two factor authentication on the same device that I log in with?

    I just installed Sierra and chose to use the two factor authentication with my iPhone chosen as a device to receive the code.

    But then, Apple displays a digit code 6 on my Mac itself and then asked me to go on my Mac.

    What sense does that make?

    A wild guess - were you log into your account in Safari on Mac when he showed you the digit code 6 on Mac? And you had already completed the sign-in icloud in System Preferences?

    If so, the macOS has been approved, but Safari wasn't. If macOS was able to show the code. It seems strange to first have the same computer application and provide the code, but really it is two layers of security and you had gotten through the first layer already.

  • Power on the code

    I have a laptop hp and when I turned it on I got a black screen with a blue box asking for an administrator or power over the code. I don't know what it is and my disabled system code is [52016808] Please help if you can. Thank you!

    Hello

    Please enter:

    43974228

    You can also try:

    http://BIOS-PW.org/

    Kind regards.

  • PC disconnects the VPN after several hours, can not reconnect until you restart the PC.

    Hello

    I started to use a VPN private for a video game in general since last month, but I started to run into a problem, I can't fix... my PC tends to disconnect the VPN after awhile (6 ~ 12 hours of use?) and I can't reconnect to any VPN until I restart my PC.

    However... my normal internet connection seems to work very well.

    When I try to reconnect to the VPN after I fell, I'm greeted by this error:
    http://PUU.sh/bicqT/0a6f1f8537.PNG

    I'm on Windows 7 64 bit and I use the VPN client by default windows... idk what's his name, it's putting you in the network and sharing Center.

    I tried the following things:
    * restart the network map
    diagnose the issue with windows network diagnostics 7
    * / Clear DNS cache
    * / release and / renew lease
    * reset the internet connection
    * using the internet connection of a neighbor and I am still unable to connect to any VPN until you restart the PC.

    -diagnosis after disconnecting from the VPN wireless adapter arrives leads to this...
    http://PUU.sh/bibQs/9873c02068.PNG
    http://PUU.sh/bibn7/93ec6f0934.PNG
    http://PUU.sh/biboF/3c9f865f15.PNG
    http://PUU.sh/bibpw/b204c59f01.PNG
    http://PUU.sh/bibq9/a10d3246d1.PNG

    I can't fix it through diagnostics.

    In any case, this is a problem on my end because I share the VPN with 2 other friends and they do not suffer this problem... > _

    If there is a lack of information, please tell me and I will provide.

    Thanks for any help!

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
    TechNet Forum
    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    Hope this information helps.

  • 'shellExecuteEx failed; "170 the requested resource is in use of the code"

    I'm unable to install all of the .exe files or even use system restore. Error message read; 'shellExecuteEx failed; 170 the requested resource is in use of the code "." I already ran a series of antivirus and anti software spies scans (NPE, Avast, Mbam, Iobit, Win defender) and found nothing. I can't even udate some of my drivers with full administrator privileges.

    Laptop ASUS A53E W7 64-bit

    Hi Shaw,

    Thanks for choosing Microsoft Community!

    You have reached the right forum. Try to solve this problem together.

    If I understand correctly, you are unable to install programs on Windows 7.

    Let us try the following methods:

     

    Method 1: Run the following fix - it to repair corrupt windows installation files:

     

    Solve problems with programs that cannot be installed or uninstalled:

    http://support.Microsoft.com/mats/program_install_and_uninstall

     

    Method 2: SFC scanner.

    SFC scanner. System File Checker (SFC) scan will replace the missing or corrupted system files on your computer.

    Use the System File Checker tool to troubleshoot missing or corrupted on Windows Vista or Windows 7 system files:

    http://support.Microsoft.com/kb/929833

     

    Method 3: Put the computer in a clean boot state, then try to install it and see if that helps:

    A clean boot to test if any element of service or third party application startup is causing this issue.

     

    Reference:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: when you're done to diagnose, follow step 7 article to start on normal startup.

     

    Hope the helps of information. Reply with more information if you need further assistance, we will be happy to help you.

  • How to disconnect the access code from my iPad 2

    How to disconnect the access code from my iPad 2

    What do you mean by "disconnect"? If you mean stop using an access code then settings > password (enter your current password) > disable password

  • How do I Fix error code 43 CD. Windows disconnected the disk do not know how to reconnect.

    My Pavilion g7us Notebook Pcs Cd-Rom Drive showed a 43 error code and my computer has disconnected the Cd-Rom drive, and he said: it will not reinstall because there is a problem with the drive, how to fix my cd-rom so that I can start my backups and use my Dvd Player and burner.

    In addition, depending on the operating system, try following the steps under "Windows 7 or Windows Vista" or "Windows XP" in the MS KB article:

    http://support.Microsoft.com/kb/982116

    These measures, to remove the UpperFilters and LowerFilters, values if they exist, in the registry key named can help.

    Create a System Restore Point beforehand and restart the computer later.

  • What does the code b03e8ad4 on my hp c5580 aio?

    I have a problem with the connection, and every once in a while, this code is visible with a blue background.  I have to turn on & off quite often during use.

    OK, I would say you need to do a power reset:

    1. without turning off the product, disconnect the USB cable to the back of the product.
    2. remove the cartridges from the product.
    3. wait until a message to insert the cartridges. If you don't see a message in a few minutes, go to the next step.
    4. disconnect the power cord from the back of the product.
    5. wait 60 seconds.
    6. reconnect the power cord. If the product does not automatically turn on, press the Power () button.
    7 reinsert the cartridges and close the doors on the product.
    8. If you are prompted to print a calibration page, do it.
    9. If you have disconnected the USB cable, plug it back in the back of the product.
    10. try to print again.

    Let me know if this helps or not.

  • Recently, do 800ccc0f with Windows Live Mail IMAP protocol when just read AOL e-mail so I am not idle, but the server disconnected the connection!

    I have Windows 7 Edition Home Premium, 64 bit on an HP G72 laptop. About 2 or 3 weeks, I get error code 800ccc0f when looking at my AOL emails on the downloaded Windows Live Mail program.  I am not idle, as I read my emails in Inbox, but it says that the server has unexpectedly disconnected the connection. So I close the program and restart WLM but the problem happen in say 15 minutes, sometimes earlier.

    This is the IMAP protocol, with port 143 and secure SSL is 0.

    (1) what is the cause for this?

    (2) I have no virus detected by Windows Security Essentials etc.  So is it a recent Windows Update causing the problem, as kb2454826 affected WLM since January 2011? (I uninstall this update kb2454826).

    I also noticed that the problem with the same error code occurs when I delete some e-mails in my Inbox.

    So it is all awkward and Windows Mail on my last laptop Vista was better on the screen, functionality, reliability, and Outlook 2002 on my laptop XP Pro worked and looked better also. I use WLM version 11, I think.

    (3) can Microsoft Windows Mail works on Windows 7, or at least improve WLM to look and work like Windows Mail with better reliability too?

    Thanks in advance.

    SofiaS

    Hi Sofia S

    I use windows live mail version 11 and have an account to imap aol here are the settings I use.

    Right-click on your aol account and click Properties,
    Tab servers make sure that my server requires authentication is checked.

    The tab advanced,
    Mail Port SMTP outgoing # is 587
    Check this server requires a secure connection (SSL)

    Incoming IMAP mail
    Check this server requires a secure connection (SSL)

    change the server 2 or 3 minute wait times, I use 2 and that works for me.

    After clicking on apply and close the window re - open prorperties and check that mail port # 587 outgoing sometimes he stuck back to default settings.

    Hope this helps

  • SCCM Remote Client - disconnect the PCoIP Session

    Hello

    We have a problem on virtual machines Windows XP 64-bit with SCCM remote client.

    When the user approved the request, PCoIP session closes. This is not the case on the Windows 7 virtual machines.

    I checked pcoip logs and that:

    04/08/2013, 11:36:40.416 > RC LVL:2: 0 MGMT_IMG: CODEC: change of State of CODEC_DISABLED to CODEC_DISABLED

    04/08/2013, 11:36:40.416 > LVL:2 RC: COMMON 0: TERA_PCOIP: session_evenement = TERA_MGMT_SYS_SESS_EVENT_RESET, disconnect the cause (0xfffffe0c)

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: main server: called cb_notify_session_status (mask 0 x 10) with tera_disconnect_cause (0xfffffe0c)

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: server: TERA_MGMT_SYS_SESS_EVENT_RESET cause of disconnection (0xfffffe0c).

    04/08/2013, 11:36:40.416 > LVL:1 RC: SERVER-501: map_tera_to_vdp_connection_result_code: tera unknown disconnect cause(-500)

    04/08/2013, 11:36:40.416 > LVL:1 RC:-501 SERVER: server: map_tera_to_agent_close_code() failed due to disconnection (0xfffffe0c). With the help of PCOIP_AGENT_CLOSE_CODE_BROKER_INITIATED

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: connection_closed: code = 2.

    04/08/2013, 11:36:40.416 > RC LVL:1: 0 VGMAC: the Session Statistics: average TX = 0.116288 average RX = 0.0140269 (Mbit/s) Loss=0.00%/0.00% (R/T)

    04/08/2013, 11:36:40.416 > RC LVL:2: 0 MGMT_SYS: closing of the Session remotely!

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 MGMT_SYS: *.

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 MGMT_SYS: *.

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 MGMT_SYS: *.

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 MGMT_SYS: *.

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: Server mailbox: MBX_SHUTDOWN with agent disconnection (0x0) reason code

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: Server mailbox: stop the mailbox message loop

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: backend: had completed the message of the application

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: backend: output

    04/08/2013, 11:36:40.416 > LVL:2 RC: 0 SERVER: the Server Cleanup: kill pcoip with agent disconnect reason code (0) and wait

    04/08/2013, 11:36:40.416 > LVL:1 RC: SERVER 0: map_agent_to_tera: DISCONNECT_GENERIC-> TERA_DISCONNECT_CAUSE_HOST_BROKER_GENERIC

    04/08/2013, 11:36:40.416 > LVL:0 RC: 0 MGMT_SESS: tear down the session

    04/08/2013, 11:36:40.416 > RC LVL:2: 0 MGMT_VCHAN: VChanPluginExit: closing the plugin 'VMware_Server '.

    04/08/2013, 11:36:40.447 > RC LVL:2: 0 MGMT_VCHAN: VChanPluginExit: Plugin 'VMware_Server' is closed.

    04/08/2013, 11:36:40.447 > RC LVL:1: 0 MGMT_VCHAN: = > parted with success all plugins VChan

    04/08/2013, 11:36:40.447 > LVL:2 RC: 0 SERVER: the Server Cleanup: detachment inputdevtap

    04/08/2013, 11:36:40.447 > LVL:0 RC: EXTERN 0: input_devtap == > can't get the process token for the user.

    04/08/2013, 11:36:40.447 > LVL:2 RC: 0 SERVER: the Server Cleanup: closing of mailboxes

    04/08/2013, 11:36:40.447 > LVL:2 RC: 0 SERVER: the Server Cleanup: free copy of the argument

    04/08/2013, 11:36:40.447 > LVL:2 RC: 0 SERVER: the Server Cleanup: complete cleaning

    Hi Linjo,

    Seems, all my problems are related to the type of OS client!

    I will deploy Windows XP 32-bit or Windows 7 for VDI other sites.

    BR

  • Gracefully closes VMs and disconnect the floppy/CD drive

    All the

    We have a VDI environment where the connection broker agent sometimes fails image stops when the user disconnects, and I want to run a weekly script late in the night to feed free of charge throughout.  In addition, sometimes people join local FDD / CD and these cause problems with DRS, so I want to delete all these at the same time.

    I could use the following:

    Get-Cluster "VDS - SDC01 | Get - VM UK1 * | Stop-VMGuest - confirm: $false


    Get-Cluster "VDS - SDC01 | Get - VM UK1 * | Stop-VM-confirm: $false


    Get-Cluster "VDS - SDC01 | Get - Vm | Where-Object {}
    (((Get-CDDrive-VM $_ |)) Where-Object {(($_.))} ConnectionState.Connected - eq $True) - or ($_.) "(ConnectionState.StartConnected - eq $True))}) - no $Null)"
    - or"
    ((Get-FloppyDrive-VM $_ |)) Where-Object {(($_.))} ConnectionState.Connected - eq $True) - or ($_.) ((ConnectionState.StartConnected - eq $True))}) - no $Null))
    } | %{
    "VM: " + $_. Nom + « (« + $_. PowerState + ') '.
    Get-CDDrive - VM $_. ForEach-Object {Set-CDDRIVE - CD $_ - StartConnected $False - connected $False - confirm: $False | %{"Changed" + $_.} Name}}
    FloppyDrive get - VM $_. ForEach-Object {Set-FloppyDRIVE-diskette $_ - StartConnected $False - connected $False - confirm: $False | %{"Changed" + $_.} Name}}

    But the education of the diskette/CD disconnect player is somewhat clumsy.  All I want to do is set the VM for when what they feed on once again, he is going to be there no CD or FDD value so that that they will cause problems with the DRS (connected locally or host).

    Looking around, I saw an opportunity to use Set-CDDrive - CD $cd - NoMedia and whole-FloppyDrive-Floppy $floppy - NoMedia

    As all virtual machines must be turned off at this point, could I just replace the last line with something like

    Get-Cluster "VDS - SDC01 | Get - Vm | {

    Game-CDDrive - CD $cd - NoMedia

    Game-FloppyDrive-floppy $floppy - NoMedia

    }

    ?

    Concerning

    Simon

    The '%' is an alias for Foreach-Object. You can check with

    Get-Alias-Name %

    All virtual machines will be placed, one by one, to the code block after the %.

    In the block of code the current VM is accessible via the variable $_.

  • I had a problem with my iPad 2 Air when I changed my Apple ID password, the problem is, it shows me a Massage says ENTER the PASSWORD, and then said your PASSWORD will be used when the signature with the new device, but when I but the code it shows fail m

    This problem happened to me and it belongs to iCloud and I have used so important, please can someone help me?

    Hello. The access code on your iPad is the code four or six numbers you will need to enter to unlock the device. It has nothing to do with the verification of your Apple ID or two-step. Are you able to unlock your phone? If you are, then please describe the steps that lead to your problem. Since you have changed your Apple ID password, you will need to go to two settings > iCloud and settings > iTunes and app store and sign out of your Apple ID, then connect back with the new PW.

  • send you the code for the new Apple ID and not the old

    Can you please send the code to the new Apple ID that is dead?

    What is the code? What AppleID?

    You will need to provide more information until someone can offer a solution.

    Writing an effective question of communities of Apple Support

  • IPhone does not accept the code to check for text messages

    II phone does not accept the code verification for the transfer of messages text imac

    Maybe these articles will help:

    Get a verification code and connect with authentication to two factors - Apple Support

    If you don't receive your check or reset email - Apple Support

    If this is not the case, can you explain a little more detail what exactly is your problem?  Or see the 'Contact us' at the bottom of the second article.

Maybe you are looking for