Details

    • Similar Issues:
      Show 10 results 

      Description

      With the release of AeroGear Security 1.0.1 we got rid of the AeroGearUser type.

      This has an impact on code that is login in against it:

      The AeroGEarUser has a "username"
      https://github.com/aerogear/aerogear-security/blob/1.0.0/src/main/java/org/jboss/aerogear/security/model/AeroGearUser.java#L26

      This is gone, and the "replacement", the User/SimpleUser from AeroGEar (extends Agent) is using "loginName":

      http://docs.jboss.org/picketlink/2/2.5.0.Beta3/api/org/picketlink/idm/model/Agent.html#getLoginName()

      The iOS library needs to reflect this change in here:
      https://github.com/aerogear/aerogear-ios/blob/matzew_afn121/AeroGear-iOS/AeroGear-iOS/security/AGRestAuthentication.m#L122

        Gliffy Diagrams

          Activity

          Hide
          Matthias Wessendorf added a comment -

          Note: with this beging "fixed" / "changed" the 1.0.0 version of AG Security no longer works...

          Show
          Matthias Wessendorf added a comment - Note: with this beging "fixed" / "changed" the 1.0.0 version of AG Security no longer works...
          Hide
          Matthias Wessendorf added a comment -

          Instead of having username/password on the signature:
          https://github.com/aerogear/aerogear-ios/blob/matzew_afn121/AeroGear-iOS/AeroGear-iOS/security/AGAuthenticationModule.h#L163-L164

          let's use a similar approach to our enroll:
          https://github.com/aerogear/aerogear-ios/blob/matzew_afn121/AeroGear-iOS/AeroGear-iOS/security/AGAuthenticationModule.h#L143

          That way developers can pass in the credentials like:

          @{@"myFooNameForUser":@"john",@"passywordy":@"123"}

          Show
          Matthias Wessendorf added a comment - Instead of having username/password on the signature: https://github.com/aerogear/aerogear-ios/blob/matzew_afn121/AeroGear-iOS/AeroGear-iOS/security/AGAuthenticationModule.h#L163-L164 let's use a similar approach to our enroll: https://github.com/aerogear/aerogear-ios/blob/matzew_afn121/AeroGear-iOS/AeroGear-iOS/security/AGAuthenticationModule.h#L143 That way developers can pass in the credentials like: @{@"myFooNameForUser":@"john",@"passywordy":@"123"}

            People

            • Assignee:
              Christos Vasilakis
              Reporter:
              Matthias Wessendorf
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development