Kerberos authentication problem

I followed the step of the configuration of http://weblogic-wonders.com/weblogic/2009/11/15/configuring-kerberos-with-weblogic-server/ published by Faisal Khan.

When I try to access my application running in weblogic, I faced following problem (famous error 401 - no) authorized
Suppose that the main user is "* main-user *', and my windows account is ' * windows-user *'.

(1) the Kerberos authentication looks very good, I had successful following information:
Found the key for [email protected] (1)
Entry Krb5Context.acceptSecContext = STATE_NEW stateful
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
Using builtin default ETYPE for permitted_enctypes
default ETYPE for permitted_enctypes: 3 1 23 16 17.
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
Reset config by default kdc XXX.COM
cache of proofreading for windows-user@XXX is null.
object 0: 1282932038000/154
object 0: 1282932038000/154
* > > > KrbApReq: authenticate reussir.*
Krb5Context setting peerSeqNumber to: 1113985206
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
Krb5Context setting mySeqNumber to: 792726776

(2) but after that, seems weblogic wants to do another authenticates with my windows account:

< user name were found, implemented callbackhandler >
< com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.constructor >
< com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.constructor >
< com.bea.common.security.internal.service.ChallengeIdentityAssertionServiceImpl$ ChallengeContextImpl.constructor >
< com.bea.common.security.internal.service.ChallengeIdentityAssertionServiceImpl$ ChallengeContextImpl.hasChallengeIdentityCompleted >
< com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.hasChallengeIdentityCompleted >
< com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.hasChallengeIdentityCompleted >
< com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.getCallbackHandler >
< com.bea.common.security.internal.service.ChallengeIdentityAssertionTokenServiceImpl$ ChallengeContextImpl.hasChallengeIdentityCompleted >
< com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.hasChallengeIdentityCompleted >
< com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.getCallbackHandler >
< com.bea.common.security.internal.legacy.service.ChallengeIdentityAssertionProviderImpl$ ChallengeIdentityAsserterV2Adapter$ ChallengeContextV2Impl.hasChallengeIdentityCompleted >
< com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity >
< com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity >
< com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity return windows-user >
* < com.bea.common.security.internal.service.IdentityCacheServiceImpl.getCachedIdentity(windows-user) > *.
* < com.bea.common.security.internal.service.IdentityCacheServiceImpl.getCachedIdentity(windows-user) return null > *.
* < com.bea.common.security.internal.service.IdentityAssertionCallbackServiceImpl.assertIdentity did not find a cached identity. > *.
< com.bea.common.security.internal.service.CallbackHandlerWrapper.constructor >
.... (do a LDAP search)
< delegated com.bea.common.security.internal.service.LoginModuleWrapper.commit, returning false >
* < weblogic.security.service.internal.WLSJAASLoginServiceImpl$ ServiceImpl.authenticate authentication failed for windows user > *.

I don't know after Kerberos authentication, why the weblogic using my windows account to another?

and if I create the user "windows" as a user weblogic, then authentication would succeed and can access my application.

but this is not the so-called "SSO" - there is no point to create all users as users weblogic domain.

I think I might make a mistake in my env weblogic, any idea?

Thank you very much.

Hi Victor,

I have observed the following in your server logs






<[Security:090300]Identity assertion="" failed:="" user="" windows.user="" does="" not="" exist="">

We need to create a user in Weblogic Server (whether in DefaulAuthenticator or ActiveDirectoryAuthenticator) which tries to connect to the application for kerberos based authentication to work.

Single sign-on means that the customer (end user) doesn't have to provide the creadentials all over again and its domain credentials are substituted.
Put simply, a kerberos token is passed to WLS and WLS Decrpts token, retrieves the user name and try to check it against some stores. So, the user must present b and in accordance with the Kerberos protocol.

Hope that help.

Let me know if you have any other questions!

Thank you
Faisal

Tags: Fusion Middleware

Similar Questions

  • Kerberos authentication and use the KTPASS tool

    I work in support to a network analysis software company.  We have the ability to use Kerberos authentication for our product.  Recently, we found that when you generate the keytab file using ktpass on a Windows Server 2003 or 2008, it is a step backwards in the process.  Eventually do you run the ktpass twice to get the keytab file good.

    Our external authentication module is software that uses Kerberos authentication and then he puts it on a remote client computer to access our software. We configure our Kerberos application and then read from the file keytab generated on a Windows Server 2003 or 2008 domain controller by using Kerberos V5 found in the AD domain controllers.

    When you run the ktpass tool, you must submit the username and password to generate the keytab file.  When it is generated, there is a generated KVNO number / incremented in the keytab file.  But it writes the file first and then updates the KVNO + 1 number in the actual key stored in AD.  If your keytab file is always number 1 behind what is actually stored in AD!

    We can fix it by running ktpass once,

    Examine the properties for the KVNO number in the last keytab file

    Re-run the ktpass, but number KVNO + 1

    The keytab file is generated, AD wrote the new KVNO + 1 number in AD

    But now our keytab file matches KVNO number generated by AD

    We lose a step in the ktpass tool?

    is there a way to see what the current number of KVNO is set in AD

    We have tested extensively with Windows 2003 and Windows 2008 R2 domain controllers

    The guests were the two Windows 7 Prof 64 bit

    Was just curious if anyone has had this experience?

    Thanks in advance,

    Terry Ball

    Hello Terry,

    According to the description of the problem, it seems that you are working on Windows server 2003 and 2008. I would recommend posting your query on the Server Forums TechNet for Windows.

    TechNet is watched by other computing professionals who would be more likely to help you. Please check the below link which will redirect you to the appropriate forum.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?Forum=winserver8gen

    Hope that the information provided is useful. Let us know if you have questions related to Windows, we will be happy to help you.

    Kind regards

  • Kerberos authentication PeopleCode works do not (FUNCLIB_LDAP. LDAPAUTH. FieldDefault.KRB_AUTHENTICATION)

    Hello

    I try to enable Kerberos authentication on our PeopleSoft (8.53.24 tools) system and have problems with authentication peoplecode. More precisely, the function KRB_AUTHENTICATION() in FUNCLIB_LDAP. LDAPAUTH. FieldDefault(). I've set up according to the instructions contained in PeopleBooks. The web server accepts a valid Kerberos token and runs the correct PeopleCode. Successfully, it retrieves the username since the token, but when it instantiates the class KerberosSSOValidator and calls the validate() method, it will return a "NULL" string for the & variable validUserName, which actually fail subsequent evaluation of IF. See below and note the code highlighted in red indicating where my problem lies:

    If Len (& userName) > 0 Then

    & krbToken = Substring (& krbToken, 11, Len(&krbToken) + 1);

    & validator = GetJavaClass("com.peoplesoft.pt.desktopsso.kerberos.KerberosSSOValidator").getInstance ();

    Local chain & validUserName = & validator.validate (& krbToken);

    If & validUserName <>'NULL' And

    & princName = & validUserName then

    SetAuthenticationResult (True, Upper (and username), "", False);

    & authMethod = "KRB";

    End - If;


         End - If;

    I added a few statements to insert the values of the various values that are at play in this block of code and I can see that before you call $ () validator.validate & userName correctly holds the user ID who came through in the Kerberos token. I also confirmed that the call to instantiate KerberosSSOValidator not returns a null object (if it was that the later line would fail anyway). Yet validate() always returns a string "NULL". Also, if I replace the call to validate and the hardcode & the validUserName = "< username >", it connect me (or someone) as my ID if they try and hit a page of PeopleSoft.

    Someone else knows this error? Please respond with any information specific to this code, and not with Oracle instructions on setting up Kerberos authentication. I follow the steps.

    Finally, we have solved this problem. The problem is that when a keytab file has been generated, the parameter -mapuser was absent from the ktpass command. Thus the SPN has not correctly mapped to the service account we created for this feature.

  • Authentication problem when you try to connect

    I have a Linksys router. Connected WN2000RPT as described in the instructions of Netgear. Everything went through the lights very well, good, EXT appears on the scan available networks, etc. Tried to connect a Smart TV Vizio and burn TV Amazon tablet Asus. All 3 devices show... EXT with a strong signal. However, each device does not, connect with an error message 'Authentication problem' or simply 'cannot connect."

    My router is connected using personal safety ' WPA2/WPA mixed. " When you configure the wifi extender, I said to use the same SSID and the security that the router setting. Online reading on the settings available on the WN2000 and decided that the problem was perhaps a "lag" in the security implementation because WN2000 is not the same as available router setting. Do you have a factory reset on extension and returned to through the procedure, only not selected use the same level of security as a router, but manually selected WPA/PSK (AES) for the Extender. Same exact error of my devices as before.

    I thought that maybe by using the security settings of the router it was to spoil the Extender because they do not have the same settings available. But perhaps using different parameters (when the Extender receives the signal from the router, but perhaps on a "pass-through" only basis?) problems as well?

    So, can someone tell me if there is a way to get my devices to connect to the Extender, or this is always going to be a problem because the router has a security setting, and if I manually set the security OR say scope to use the same security settings, it will not work because the two units are not compatible? I'm doing something wrong? Any ideas? Thank you!

    Hello RealisticDave

    Did you have a different SSID on the router and not the same as routers SSID?

    DarrenM

  • Yoga of 1050F WiFi authentication problem 2

    Hello

    I am a new Member and just upgraded to 5 android. Seems a big mistake because it is unable to connect to the internet (no problem with android 4) says authentication problem. Tried cancellation and re - enter password, router turning on and off power and factory reset. Nothing. If Lenovo come with a repair how will I be able to get into the Tablet when I have no internet connection. For the moment, I have a tablet which is equally useful as a tile. Help

    Hello

    Just disable IPV6 in your Inbox, because Lollipop use IPV6 (default) and some box are not entirely compatible.

  • Need to implement the alternative login if Kerberos authentication fails.

    Need to implement the alternative login if Kerberos authentication fails.

    In our case, we are sure that Kerberos will fail because we allow agencies 'B' to access this application of reliable source.

    Kerberos fails and the application should display the name of user and password page and then authenticate.

    In the web.xml file changed auth method basic with Kerberos, set up successfully.

    'A' agency users can make successful Kerberos SSO. But when an agency "B" SSO access will fail with 401 and the application appears pop base with the name of user and password fields.

    When the user provides the details and present application returns 401 again. not able to go beyond these steps.

    Please provide your inputs.

    can you please enable security ATN debug and share the newspapers?

    Who will be telll us why the authentication will fail.

    Replace the CLIENT-CERT, BASIC authentication method in the web.xml and try.

    What is the default authenticator control indicator? I think that its just / optional.

    -Faisal

  • BIAPPS-ODI authentication problem

    Hi friends,

    IM at biapps 11g with ODI 11 g. I configured connection odi in the studio and can properly connect to see these maps std BIAPPS in ODI.

    But 2 days before, im in the face of an authentication problem by connecting the ODI studio with the user who I connected successfully forward.

    The error that I'm facing here is the

    ODI: 26130: could not connect to the repository, ODI-10190: user dev_biadmin has his account has expired.


    Im getting the error above and the user tried to connect is "dev_biadmin" in the studio of ODI.


    Therefore, to the question above, I followed the MOS score below



    IM facing the same error explained in the note above, but force helped me because it treats FUSIONAPPS BI I guess.


    Kindly advice me friends, to solve this problem.


    Brgds,

    Saro

    Hi, Saro,

    Connection to studio ODI as a SUPERVISOR user. Go to ODI--> Switch authentication mode--> give your contact information to ODIREPO and sign in.

    You will get the message properly connected. Click the Security tab. try to connect as a SUPERVISOR. Once the connection is successful. Go to the user of the cprresponding (dev_biadmin) account and change the password.

    Logout and go to ODI--> switch authentication mode. Give the details. It will change external authentication. Now you should be able to log in as dev_biadmin.

    Hope this will solve your problem...

    Kind regards

    Vanina

  • In VRA7 Kerberos authentication configuration

    Hello

    I'm trying to configure Kerberos authentication in my environment VRA7. I followed the instructions of the reference documentation. I have install the connector, workers and Kerberos authentication providers... and can connect with my domain user name and password via the password authentication provider.

    However, when you try to login, I get the following error message: access.policy.auth.methods.not.valid.

    Access denied because no valid authentication methods have been found 404

    Screenshot 2016-02-06 12.29.22.png

    When I try the test URL: https://connector-instance.domain.host/authenticate , I got a HTTP 404 status - / authenticate error message.

    Any ideas?

    Best

    Guido

    Solved: all accounts that are synchronized with the Identity Manager must have a name, surname and email configured.

  • I have several websites in Muse. Everything was fine until last night. When publishing to Business Catalyst I get a message, teling me the following: unknown authentication problem - shared unknown error: 80. What should do?

    I have several websites in Muse. Everything was fine until last night. When publishing to Business Catalyst I get a message, teling me the following: unknown authentication problem - shared unknown error: 80. What should do?

    Hello

    To resolve this problem, you will need to disconnect muse and connect again.

    Here are the steps to the disconnection of Muse:

    1. help > log out.

    2. Once signed on restart Muse (please sign using Adobe ID if she invites to connect)

    You should be all set.

    Concerning

    Vivek

  • Active Directory kerberos authentication ticket control

    Hello

    Customer asked if Active Directory cartridge has the ability to control errors in Kerberos authentication ticket? For example when the user has too many groups in his account AD and the Kerberos ticket is larger at all an ad.

    Thank you

    Hi Miska,

    A search in eDocs reveals that there is Directory Services Performance view of health that includes:

    Kerberos Authentications. This counter displays the rate at which clients are using a Kerberos ticket to authenticate to the DC.     Authentication Requests. This graph displays the number of times per second that clients use a Kerberos ticket to authenticate to the DC.
    

    These parameters are evaluated for the Rule of authentication Kerberos LDAP:

    Purpose This rule monitors the number of times per second that clients use a Kerberos ticket to authenticate to a DC. An upward trend may result in issues with LDAP-dependent services
    

    These references appear to be the closest thing "the ability to control the Kerberos authentication ticket errors."

    Kind regards

    Brian Wheeldon

  • Kerberos authentication vs. AAU 10 gR 3

    Hello

    I would like to know if it is possible to use Kerberos authentication out of the box with gR 10, 3 of the Complutense University of MADRID, without using IOM or levels like that.

    University Complutense of MADRID is running on a Server Windows server 2003 and IIS 6.X. Clients and applications are on Windows XP or 2003.

    Thank you.

    What is your user directory? AD

    You try to authenticate the users connected to the windows domain already?

    If the answer to those is yes then configure authentication Windows integrated and by default it will use Kerberos

    If this is what you need then let us know and I can give you some advice

    Tim

    Published by: Tim Snell on June 25, 2010 13:23

  • iCloud for Windows authentication problem

    I have iCloud for V5.2.1.69 Windows running on a current version of Windows 10.

    I have a version to update to iTunes, without no problem logging into my account.

    I can connect to the version of the browser to iCloud without problems.

    I have uninstalled and reinstalled the app iCloud three times now and restarted every time.

    I can't connect to the application windows to iCloud well! Every time he is saying

    "An error has occurred during authentication. Please try again. »

    I must have tried 10 times for several hours and still can not!

    If someone managed to connect via the Windows application?

    I have the same problem. You have made no progress on this?

    Thank you

  • Notification of Motorola ID "Authentication Problem.

    I get a message in my opinion every two days, which is called the problem of authentication. Below it is written: Touch connect with Motorola ID. When I touch the notification to see what's going to happen, it just goes back to the home screen (and probably authenticate something). My phone is otherwise seems to work fine... Yes, I got the update.


  • Authentication problem of proxy server for the domain while accessing internet users?

    We have a problem in my company with the proxy server.

    We have an Isa proxy server to restrict some users who access the internet

    allow us some users and sites for them to access

    but some times it requires authentication for all users who have access also. At that time they keep calling us. so I created a temporary rule to allow all traffic for all users. After awhile, we disable and it is working... but in some cases allow same temp rule also does not work so we say - join the domain and join the domain again...

    It seems that these are all temporary, full-time for us of how, it became

    Is there a permanent solution to this problem...

    Please help us solve this problem

    Thank you and best regards,

    Hi jagdeeshk,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows Server forum.

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

  • WIFI Lenovo A5000 authentication problem

    Whenever I try to connect to my new Lenovo A5000 in my WIFI connection, it will be said: the problem of authentication.

    -Ensure that you have the password
    -Make sure you have the latest firmware
    -Test with another router wireless

Maybe you are looking for