svn rev #19341: branches/krb5-1-6/ src/windows/identity/config/ src/windows/identity/plugins/krb5/ ...
tlyu@MIT.EDU
tlyu at MIT.EDU
Fri Mar 30 14:38:56 EDT 2007
Commit By: tlyu
Log Message:
ticket: 5495
version_fixed: 1.6.1
pull up r19306 from trunk
r19306 at cathode-dark-space: jaltman | 2007-03-29 13:24:34 -0400
ticket: new
subject: NIM commits for KFW 3.2 Beta 1
component: windows
(NetIDMgr 1.2.0.0)
netidmgr.exe
- Simplify credential window UI element placement calculations.
- Add the Custom_1 view to the UI schema. This is used to store
customizations to the basic view.
- Extended styles for toolbars have to be set via TB_SETEXTENDEDSTYLE
messages instead of the EX_STYLE parameter to CreateWindowEx().
Also, set the extended style to support detached arrows.
- Support drop down menus in the standard toolbar.
- The per-identity commands that are added to expiration dialogs are
now flagged for automatic dispatch.
- Remove unnecessary status bar parts and display the status bar icons
at the correct size.
- The notification alerts now display the info balloon at the correct
size.
- Increase the height of the height of the dialog button bar to 190
from 181 dialog units.
- Lock the action tables when refreshing the per-identity actions.
Perform the necessary notification after refreshing the per-identity
actions.
- "Initialize <identity>" -> "Obtain new credentials for <identity>"
- Add a button to go back to the Basic view from the Advanced view in
the new credentials dialog.
- Cache the extents of each row since we now support rows of variable
heights.
- Selecting a credential row or a header should select all the
credentials that are represented by the row.
- Update the selection state after loading a new view.
- Display the expiration times in the second line of an expanded
identity header.
- Checks for expiration flags in the credentials window now take into
account that the each flag may occupy more than one bit position.
- Calculate the expiration flags for the identity before assigning it
to a header, so that the header can display accurate expiration
data.
- Kill unnecessary timers in the credentials view and make sure taht
the KHUI_CW_ROW_TIMERSET flag is consistent with whether there is an
active timer for the row.
- In addition to rows that hold credentials, timers can also be
assigned to headers for identities in the basic view. This allows
the headers to display expiration times.
- The credentials view keeps track of the count of credentials, the
count of identity credentials (credentials which belong to the
credentials type that the identity belongs to) and the number of
initial credentials.
- Configuration spaces that hold credential view definitions now
include an additional value "_AppVersion" which contains the version
of NIM used to create the data. If the current version is greater
than the stated version, NIM will failover to using the schema
instead of using the saved data. This is because view definitions
are version dependent.
- The app_version global variable is now a const.
- The renew and destroy icons in the standard toolbar are now drop
down buttons. If the drop down arrow is clicked, they display a
menu with the list of identities that the operation can target.
- The renew and destroy actions on the credential menu have been
replaced by submenus that allow the user to select the identity
which would be the target of the operation.
- Consistently update the 'displayed' field of an alert so that
plug-ins can keep track of which alerts are being displayed.
- If the currently displayed balloon alert has
KHUI_ALERT_FLAG_DEFACTION flag, then dispatch the defualt command
when the user clicks the notification icon, or display the expanded
alert if necessary.
- Reduce flicker when drawing the credentials display by clipping the
header control from the device context.
- The state of Advanced mode is now preserved between NIM sessions.
- The credential display layout is kept track of separately for the
Basic and Advanced views. Any customization done on either view
(e.g.: changing sort order) will only affect that view.
Customizations for the Advanced view will be saved in the Custom_0
view, while customizations for the Basic view will be saved in
Custom_1.
- New color scheme.
- Selecting a credential or identity will no longer mask the
expiration state. The selection rectangle is now alpha blended.
- In Basic view, the width of the Identity column changes with the
width of the window so that the credentials display always fills the
width of the window.
- The colors for the highlight, text color, highlighted text color,
window background and other elements are now obtained via Windows so
that NetIDMgr will be more consistent with any themes that have been
applied.
- Correctly determine whether a column can be dragged or resized based
on the KHUI_CW_COL_FIXED_WIDTH and KHUI_CW_COL_FIXED_POS flags.
- Correctly update the scroll bars when switching between views.
- The "marker" button for a displayed alert should not perform any
action and it should not be the default control. Selecting it
should no longer cause an assertion to be thrown.
- Don't display the "... Click here for more." message when displaying
a balloon alert if the operating system involved does not provide a
reliable means of detecting that the user clicked on a balloon.
- When attempting to display queued alerts, if the alert at the top of
the queue is of a type that cannot be consolidated, then show it by
itself.
- If the size of the alert window changes, it should be redrawn
properly.
krb5creds.dll
- Allow setting an identity as the default even if there are no
credentials or credential caches associated with it. We generate
the name of the ccache we would use if we were getting new
credentials for the identity and then set that as the default cache.
- Controls in the per-identity configuration panels resized to fit
their contents.
- Set the credentials type and type name attributes for identities for
which we have a TGT.
- Use khm_krb5_get_identity_params() when retrieving parameters for
the identity global configuration panel.
- Add UI elements for setting the global values for forwardable,
renewable and addressless flags.
- Make the schema default to issue forwardable tickets for identities
that have no configuration and when krb5.ini does not define
'forwardable'.
- When updating the identity properties, take all the active
identities into account, so that we won't orphan any identities with
Krb5 properties but no credentials associated with them.
- If there is no TGT associated with an identity, then strip it of any
Krb5 provided properties.
- Associate identities that have a valid TGT with Krb5 by setting
KCDB_ATTR_TYPE to the Krb5 credentials type.
- Don't attempt to renew an identity if the TGT is not renewable or is
expired.
- When opening the configuration handle for an identity, if the
identity does not have any configuration information, failover to
using the per-realm configuration or the identity global
configuration.
- When opening the configuration handle, don't return a handle that
can't safely be closed.
- Add code from get_in_tkt.c that correctly handles per-realm settings
when obtaining libdefaults settings from the profile.
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/windows/identity/config/Makefile.w2k
U branches/krb5-1-6/src/windows/identity/config/Makefile.w32
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5configids.c
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5funcs.c
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krb5identpro.c
U branches/krb5-1-6/src/windows/identity/plugins/krb5/krbconfig.csv
U branches/krb5-1-6/src/windows/identity/plugins/krb5/lang/en_us/langres.rc
U branches/krb5-1-6/src/windows/identity/plugins/krb5/langres.h
U branches/krb5-1-6/src/windows/identity/ui/appglobal.h
U branches/krb5-1-6/src/windows/identity/ui/credwnd.c
U branches/krb5-1-6/src/windows/identity/ui/credwnd.h
U branches/krb5-1-6/src/windows/identity/ui/lang/en_us/khapp.rc
U branches/krb5-1-6/src/windows/identity/ui/main.c
U branches/krb5-1-6/src/windows/identity/ui/mainmenu.c
U branches/krb5-1-6/src/windows/identity/ui/mainwnd.c
U branches/krb5-1-6/src/windows/identity/ui/newcredwnd.c
U branches/krb5-1-6/src/windows/identity/ui/newcredwnd.h
U branches/krb5-1-6/src/windows/identity/ui/notifier.c
U branches/krb5-1-6/src/windows/identity/ui/resource.h
U branches/krb5-1-6/src/windows/identity/ui/statusbar.c
U branches/krb5-1-6/src/windows/identity/ui/statusbar.h
U branches/krb5-1-6/src/windows/identity/ui/timer.c
U branches/krb5-1-6/src/windows/identity/ui/toolbar.c
U branches/krb5-1-6/src/windows/identity/ui/toolbar.h
U branches/krb5-1-6/src/windows/identity/ui/uiconfig.csv
U branches/krb5-1-6/src/windows/identity/uilib/action.c
U branches/krb5-1-6/src/windows/identity/uilib/khnewcred.h
More information about the cvs-krb5
mailing list