Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-194

Change password representation from a char[] to a String

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 2.0.0-RC1
    • Labels:
      None

      Activity

      Hide
      smckinney Shawn McKinney added a comment -

      1. core user entity chgs:

      public User( String userId, String password )
      public User( String userId, String password, String roleName )
      public User( String userId, String password, String[] roleNames )
      public User( String userId, String password, String roleName, String ou )
      public String getPassword()
      public void setPassword(String password)
      public String getNewPassword()
      public void setNewPassword(String newPassword)

      2. core mgr api chgs:

      AdminMgr:
      void changePassword( User user, String newPassword )

      AccessMgr:
      void resetPassword( User user, String newPassword )
      void changePassword( User user, String newPassword )

      3. realm interface chgs

      J2eePolicyMgr:
      boolean authenticate( String userId, String password ) throws SecurityException;
      TcPrincipal createSession( String userId, String password ) throws SecurityException;
      TcPrincipal createSession( String userId, String password, List<String> roles ) throws SecurityException;

      TcAccessMgrImpl:
      public Principal authenticate( String userId, String password )

      Tc7AccessMgrProxy:
      public Principal authenticate( String userId, String password )

        • req's new proxy jar deployed to tomcat-home/lib

      4. rest svc interface chgs:

      3 sample svcs under src/test/resources were changed for passwords

      addUser1:
      <FortRequest>
      ...
      <password>password</password>
      </FortRequest>

      createSession:
      <FortRequest>
      <contextId>HOME</contextId>
      <entity xsi:type="user" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <userId>emtestuser1</userId>
      <password>mypassword</password>
      </entity>
      </FortRequest>

      emTestAuthN:
      <FortRequest>
      <contextId>HOME</contextId>
      <entity xsi:type="user" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <userId>emtestuser1</userId>
      <password>mypassword</password>
      </entity>
      </FortRequest>

      Show
      smckinney Shawn McKinney added a comment - 1. core user entity chgs: public User( String userId, String password ) public User( String userId, String password, String roleName ) public User( String userId, String password, String[] roleNames ) public User( String userId, String password, String roleName, String ou ) public String getPassword() public void setPassword(String password) public String getNewPassword() public void setNewPassword(String newPassword) 2. core mgr api chgs: AdminMgr: void changePassword( User user, String newPassword ) AccessMgr: void resetPassword( User user, String newPassword ) void changePassword( User user, String newPassword ) 3. realm interface chgs J2eePolicyMgr: boolean authenticate( String userId, String password ) throws SecurityException; TcPrincipal createSession( String userId, String password ) throws SecurityException; TcPrincipal createSession( String userId, String password, List<String> roles ) throws SecurityException; TcAccessMgrImpl: public Principal authenticate( String userId, String password ) Tc7AccessMgrProxy: public Principal authenticate( String userId, String password ) req's new proxy jar deployed to tomcat-home/lib 4. rest svc interface chgs: 3 sample svcs under src/test/resources were changed for passwords addUser1: <FortRequest> ... <password>password</password> </FortRequest> createSession: <FortRequest> <contextId>HOME</contextId> <entity xsi:type="user" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <userId>emtestuser1</userId> <password>mypassword</password> </entity> </FortRequest> emTestAuthN: <FortRequest> <contextId>HOME</contextId> <entity xsi:type="user" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <userId>emtestuser1</userId> <password>mypassword</password> </entity> </FortRequest>

        People

        • Assignee:
          smckinney Shawn McKinney
          Reporter:
          smckinney Shawn McKinney
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development