directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbenn...@apache.org
Subject svn commit: r486187 [35/49] - in /directory/trunks/triplesec: ./ admin-api/ admin-api/src/ admin-api/src/main/ admin-api/src/main/java/ admin-api/src/main/java/org/ admin-api/src/main/java/org/safehaus/ admin-api/src/main/java/org/safehaus/triplesec/ a...
Date Tue, 12 Dec 2006 15:24:14 GMT
Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/group_container_opened_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/group_container_opened_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/group_container_opened_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/hauskeys_user_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/hauskeys_user_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/hauskeys_user_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/hauskeys_user_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/hauskeys_user_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/hauskeys_user_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/home2_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/home2_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/home2_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/home_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/home_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/home_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/icon-db-user.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/icon-db-user.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/icon-db-user.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/icon-user.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/icon-user.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/icon-user.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/kuser_id.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/kuser_id.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/kuser_id.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/kverbosuser.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/kverbosuser.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/kverbosuser.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/leftarrow_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/leftarrow_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/leftarrow_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/leftarrow_22x22.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/leftarrow_22x22.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/leftarrow_22x22.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/local_user_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/local_user_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/local_user_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/local_user_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/local_user_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/local_user_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_application_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_application_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_application_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_group_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_group_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_group_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_permission2_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_permission2_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_permission2_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_profile2_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_profile2_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_profile2_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_role_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_role_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_role_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_user_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_user_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/new_user_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission2_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission2_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission2_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission2_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission2_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission2_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_container_closed_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_container_closed_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_container_closed_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_container_opened_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_container_opened_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/permission_container_opened_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile2_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile2_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile2_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile2_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile2_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile2_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_container_closed_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_container_closed_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_container_closed_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_container_opened_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_container_opened_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/profile_container_opened_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/rightarrow_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/rightarrow_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/rightarrow_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/rightarrow_22x22.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/rightarrow_22x22.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/rightarrow_22x22.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_48x48.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_48x48.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_48x48.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_container_closed_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_container_closed_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_container_closed_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_container_opened_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_container_opened_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/role_container_opened_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/snapshot1.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/snapshot1.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/snapshot1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/splashscreen.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/splashscreen.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/splashscreen.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/status_ok_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/status_ok_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/status_ok_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/unused-db-user.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/unused-db-user.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/unused-db-user.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user_container_closed_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user_container_closed_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user_container_closed_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user_container_opened_16x16.png
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user_container_opened_16x16.png?view=auto&rev=486187
==============================================================================
Binary file - no diff available.

Propchange: directory/trunks/triplesec/swing-admin/src/main/resources/org/safehaus/triplesec/admin/swing/user_container_opened_16x16.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/LaunchAdminFrame.java
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/LaunchAdminFrame.java?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/LaunchAdminFrame.java (added)
+++ directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/LaunchAdminFrame.java Tue Dec 12 07:23:31 2006
@@ -0,0 +1,87 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.safehaus.triplesec.admin.swing;
+
+
+import java.util.Properties;
+
+import org.safehaus.triplesec.TriplesecInstallationLayout;
+import org.safehaus.triplesec.guardian.ApplicationPolicy;
+import org.safehaus.triplesec.guardian.ApplicationPolicyFactory;
+import org.safehaus.triplesec.integration.TriplesecIntegration;
+
+
+public class LaunchAdminFrame extends TriplesecIntegration
+{
+    public LaunchAdminFrame() throws Exception
+    {
+        super();
+    }
+    
+    
+    public void testAdminFrame() throws Exception
+    {
+        ConnectionInfoModifier modifier = new ConnectionInfoModifier();
+        modifier.setCredentials( "secret" );
+        modifier.setHost( "localhost" );
+        modifier.setKrb5Port( super.getKerberosPort() );
+        modifier.setLdapPort( super.getLdapPort() );
+        modifier.setPrincipal( "admin" );
+        modifier.setRealm( "EXAMPLE.COM" );
+        modifier.setUseLdaps( false );
+        
+        AdminFrame frame = new AdminFrame();
+        frame.setInstallationLayout( 
+            new TriplesecInstallationLayout( System.getProperty( "serverConfigurationPath" ) ) );
+        frame.setLocation( UiUtils.getCenteredPosition( frame ) ); 
+        frame.setVisible( true );
+        
+        ConnectionInfo connectionInfo = modifier.getConnectionInfo();
+        
+        // -------------------------------------------------------------------
+        // Need to connect to the server via guardian first
+        // -------------------------------------------------------------------
+        
+        Properties props = new Properties();
+        StringBuffer buf = new StringBuffer();
+        buf.append( "appName=tsecAdminTool,ou=Applications," ).append( connectionInfo.getLdapRealmBase() );
+        props.setProperty( "applicationPrincipalDN", buf.toString() );
+        props.setProperty( "applicationCredentials", "secret" );
+
+        try
+        {
+            Class.forName( "org.safehaus.triplesec.guardian.ldap.LdapConnectionDriver" );
+        }
+        catch ( ClassNotFoundException e1 )
+        {
+            // TODO Auto-generated catch block
+            e1.printStackTrace();
+        }
+        buf.setLength( 0 );
+        buf.append( "ldap://" ).append( connectionInfo.getHost() ).append( ":" )
+            .append( connectionInfo.getLdapPort() ).append( "/" ).append( connectionInfo.getLdapRealmBase() );
+        ApplicationPolicy policy = 
+            ApplicationPolicyFactory.newInstance( "ldap://localhost:10389/dc=example,dc=com", props );
+        frame.connect( connectionInfo, policy );
+        
+        System.out.println( "Press any key to end test ..." );
+        System.in.read();
+    }
+}

Added: directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/SettingsUtilsTest.java
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/SettingsUtilsTest.java?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/SettingsUtilsTest.java (added)
+++ directory/trunks/triplesec/swing-admin/src/test/java/org/safehaus/triplesec/admin/swing/SettingsUtilsTest.java Tue Dec 12 07:23:31 2006
@@ -0,0 +1,99 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.safehaus.triplesec.admin.swing;
+
+
+import java.io.File;
+import java.io.IOException;
+
+import org.safehaus.triplesec.configuration.SmsConfiguration;
+import org.safehaus.triplesec.configuration.SmtpConfiguration;
+
+import junit.framework.TestCase;
+
+
+public class SettingsUtilsTest extends TestCase
+{
+    public void testStoreAndLoad() throws IOException
+    {
+        File settingsFile = new File( System.getProperty( "settingsFile" ) );
+        
+        // -------------------------------------------------------------------
+        // setup the settings to store
+        // -------------------------------------------------------------------
+
+        AdminToolSettings settings = new AdminToolSettings();
+        settings.setAdminToolPassword( "secret" );
+        settings.setSettingsPassphrase( "secret" );
+        
+        ConnectionInfoModifier modifier = new ConnectionInfoModifier();
+        modifier.setCredentials( "secret" );
+        modifier.setHost( "localhost" );
+        modifier.setKrb5Port( 88 );
+        modifier.setLdapPort( 10389 );
+        modifier.setPrincipal( "admin" );
+        modifier.setRealm( "SAFEHAUS.ORG" );
+        modifier.setUseLdaps( false );
+        settings.setDefaultConnectionInfo( modifier.getConnectionInfo() );
+        
+        SmsConfiguration smsConfiguration = new SmsConfiguration();
+        smsConfiguration.setSmsAccountName( "test" );
+        smsConfiguration.setSmsPassword( "secret" );
+        smsConfiguration.setSmsTransportUrl( "http://some.server.com/some/path" );
+        smsConfiguration.setSmsUsername( "smsuser" );
+        settings.setDefaultSmsConfig( smsConfiguration );
+        
+        SmtpConfiguration smtpConfiguration = new SmtpConfiguration();
+        smtpConfiguration.setSmtpAuthenticate( false );
+        smtpConfiguration.setSmtpFrom( "admin@example.com" );
+        smtpConfiguration.setSmtpHost( "hertz" );
+        smtpConfiguration.setSmtpSubject( "New account available" );
+        settings.setDefaultSmtpConfig( smtpConfiguration );
+        
+        // -------------------------------------------------------------------
+        // Store the settings then load it and test for equality
+        // -------------------------------------------------------------------
+
+        SettingsUtils.store( settings, settingsFile );
+        AdminToolSettings reloaded = SettingsUtils.load( "secret", settingsFile );
+
+        assertEquals( settings.getAdminToolPassword(), reloaded.getAdminToolPassword() );
+        assertEquals( settings.getSettingsPassphrase(), reloaded.getSettingsPassphrase() );
+
+        assertEquals( settings.getDefaultConnectionInfo().getCredentials(), reloaded.getDefaultConnectionInfo().getCredentials() );
+        assertEquals( settings.getDefaultConnectionInfo().getHost(), reloaded.getDefaultConnectionInfo().getHost() );
+        assertEquals( settings.getDefaultConnectionInfo().getLdapRealmBase(), reloaded.getDefaultConnectionInfo().getLdapRealmBase() );
+        assertEquals( settings.getDefaultConnectionInfo().getPrincipal(), reloaded.getDefaultConnectionInfo().getPrincipal() );
+        assertEquals( settings.getDefaultConnectionInfo().getRealm(), reloaded.getDefaultConnectionInfo().getRealm() );
+        assertEquals( settings.getDefaultConnectionInfo().getKrb5Port(), reloaded.getDefaultConnectionInfo().getKrb5Port() );
+        assertEquals( settings.getDefaultConnectionInfo().getLdapPort(), reloaded.getDefaultConnectionInfo().getLdapPort() );
+        assertEquals( settings.getDefaultConnectionInfo().isUseLdaps(), reloaded.getDefaultConnectionInfo().isUseLdaps() );
+
+        assertEquals( settings.getDefaultSmsConfig().getSmsAccountName(), reloaded.getDefaultSmsConfig().getSmsAccountName() );
+        assertEquals( settings.getDefaultSmsConfig().getSmsPassword(), reloaded.getDefaultSmsConfig().getSmsPassword() );
+        assertEquals( settings.getDefaultSmsConfig().getSmsTransportUrl(), reloaded.getDefaultSmsConfig().getSmsTransportUrl() );
+        assertEquals( settings.getDefaultSmsConfig().getSmsUsername(), reloaded.getDefaultSmsConfig().getSmsUsername() );
+
+        assertEquals( settings.getDefaultSmtpConfig().getSmtpFrom(), reloaded.getDefaultSmtpConfig().getSmtpFrom() );
+        assertEquals( settings.getDefaultSmtpConfig().isSmtpAuthenticate(), reloaded.getDefaultSmtpConfig().isSmtpAuthenticate() );
+        assertEquals( settings.getDefaultSmtpConfig().getSmtpHost(), reloaded.getDefaultSmtpConfig().getSmtpHost() );
+        assertEquals( settings.getDefaultSmtpConfig().getSmtpSubject(), reloaded.getDefaultSmtpConfig().getSmtpSubject() );
+    }
+}

Added: directory/trunks/triplesec/swing-admin/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/test/resources/log4j.properties?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-admin/src/test/resources/log4j.properties (added)
+++ directory/trunks/triplesec/swing-admin/src/test/resources/log4j.properties Tue Dec 12 07:23:31 2006
@@ -0,0 +1,11 @@
+# Set root logger level to DEBUG and its only appender to A1.
+log4j.rootLogger=INFO, A1
+
+# A1 is set to be a ConsoleAppender.
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+
+# A1 uses PatternLayout.
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+

Added: directory/trunks/triplesec/swing-admin/src/test/resources/server.ldif
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/test/resources/server.ldif?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-admin/src/test/resources/server.ldif (added)
+++ directory/trunks/triplesec/swing-admin/src/test/resources/server.ldif Tue Dec 12 07:23:31 2006
@@ -0,0 +1,568 @@
+#
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License. 
+#  
+#
+#
+#   EXAMPLE.COM is freely and reserved for testing according to this RFC:
+#
+#   http://www.rfc-editor.org/rfc/rfc2606.txt
+#
+#
+
+#
+# This ACI allows brouse access to the root suffix and one level below that to anyone.
+# At this level there is nothing critical exposed.  Everything that matters is one or
+# more levels below this.
+#
+
+dn: cn=browseRootAci,dc=example,dc=com
+objectClass: top
+objectClass: subentry
+objectClass: accessControlSubentry
+subtreeSpecification: { maximum 1 }
+prescriptiveACI: { identificationTag "browseRoot", precedence 100, authenticationLevel none, itemOrUserFirst userFirst: { userClasses { allUsers }, userPermissions { { protectedItems {entry}, grantsAndDenials { grantReturnDN, grantBrowse } } } } }
+
+dn: ou=Users, dc=example, dc=com
+objectclass: top
+objectclass: organizationalunit
+ou: Users
+
+#
+# This ACI allows users to modify a limited set of attributes in their own user
+# entry as well as read, compare those attributes.  The user's entry must be 
+# browseable and the DN must be returnable.
+#
+
+dn: cn=allowSelfModificationsAci,dc=example,dc=com
+objectClass: top
+objectClass: subentry
+objectClass: accessControlSubentry
+subtreeSpecification: { base "ou=users", maximum 1 }
+prescriptiveACI: { identificationTag "allowSelfModifications", precedence 14, authenticationLevel simple, itemOrUserFirst userFirst: { userClasses { thisEntry }, userPermissions  {  { protectedItems {entry}, grantsAndDenials { grantReturnDN, grantModify, grantBrowse, grantRead, grantDiscloseOnError } }, { protectedItems {allAttributeValues {userPassword, krb5Key, givenName, cn, commonName, surName, sn, objectClass }}, grantsAndDenials { grantModify, grantAdd, grantRemove, grantRead, grantDiscloseOnError, grantCompare } } } } }
+
+#
+# This ACI allows users to access a limited set of attributes in their own user
+# entry as well as compare those attributes.  The user's entry must be browseable 
+# and the DN must be returnable.
+#
+
+dn: cn=allowSelfAccessAci,dc=example,dc=com
+objectClass: top
+objectClass: subentry
+objectClass: accessControlSubentry
+subtreeSpecification: { base "ou=users", maximum 1 }
+prescriptiveACI: { identificationTag "allowSelfAccess", precedence 15, authenticationLevel simple, itemOrUserFirst userFirst: { userClasses { thisEntry }, userPermissions  {  { protectedItems {entry}, grantsAndDenials { grantReturnDN, grantBrowse, grantRead, grantDiscloseOnError } }, { protectedItems {allAttributeValues {uid, userPassword, givenName, cn, commonName, surName, sn, objectClass, creatorsName, modifiersName, createTimestamp, modifyTimestamp, krb5AccountDisabled, description, apacheSamType }}, grantsAndDenials { grantRead, grantDiscloseOnError, grantCompare } } } } }
+
+dn: ou=Groups, dc=example, dc=com
+objectclass: top
+objectclass: organizationalunit
+ou: Groups
+
+dn: cn=superUsers, ou=Groups, dc=example, dc=com
+objectClass: top
+objectClass: groupOfUniqueNames
+cn: superUsers
+uniqueMember: uid=admin, ou=system
+
+dn: cn=userAdmins, ou=Groups, dc=example, dc=com
+objectClass: top
+objectClass: groupOfUniqueNames
+cn: userAdmin
+uniqueMember: uid=admin, ou=system
+
+dn: cn=applicationAdmins, ou=Groups, dc=example, dc=com
+objectClass: top
+objectClass: groupOfUniqueNames
+cn: applicationAdmin
+uniqueMember: uid=admin, ou=system
+
+dn: cn=groupAdmins, ou=Groups, dc=example, dc=com
+objectClass: top
+objectClass: groupOfUniqueNames
+cn: groupAdmin
+uniqueMember: uid=admin, ou=system
+
+#
+# This ACI allows members of the superUsers group to have full modify and read access
+# to the entire realm as does the system administrator principal: uid=admin, ou=system.
+#
+# The only thing these users cannot do is modify the system partition.  They are only
+# restricted to superUser rights within this realm partition
+#
+ 
+dn: cn=superUsersAci,dc=example,dc=com
+objectClass: top
+objectClass: subentry
+objectClass: accessControlSubentry
+subtreeSpecification: { }
+prescriptiveACI: { identificationTag "superUsersAci", precedence 20, authenticationLevel simple,  itemOrUserFirst userFirst: { userClasses { userGroup { "cn=superUsers,ou=groups,dc=example,dc=com" } }, userPermissions { { protectedItems {entry, allUserAttributeTypesAndValues},  grantsAndDenials { grantRead, grantReturnDN, grantBrowse, grantDiscloseOnError, grantCompare, grantAdd, grantRename, grantRemove, grantModify, grantImport, grantExport } } } } }
+
+#
+# This ACI allows members of the userAdmin group to have full modify and read access
+# to user accounts besides their own.  Hence they can administer users in the system.
+#
+ 
+dn: cn=userAdminsAci,dc=example,dc=com
+objectClass: top
+objectClass: subentry
+objectClass: accessControlSubentry
+subtreeSpecification: { base "ou=users", maximum 1 }
+prescriptiveACI: { identificationTag "userAdminsAci", precedence 16, authenticationLevel simple,  itemOrUserFirst userFirst: { userClasses { userGroup { "cn=userAdmins,ou=groups,dc=example,dc=com" } }, userPermissions { { protectedItems {entry, allUserAttributeTypesAndValues},  grantsAndDenials { grantRead, grantReturnDN, grantBrowse, grantDiscloseOnError, grantCompare, grantAdd, grantRename, grantRemove, grantModify, grantImport, grantExport } } } } }
+
+
+#
+# This ACI allows members of the applicationAdmin group to have full modify and read access
+# to all applications in the realm.  Adding users to this group is like a wild card for 
+# application access.
+#
+ 
+dn: cn=applicationAdminsAci,dc=example,dc=com
+objectClass: top
+objectClass: subentry
+objectClass: accessControlSubentry
+subtreeSpecification: { base "ou=applications" }
+prescriptiveACI: { identificationTag "applicationAdminsAci", precedence 17, authenticationLevel simple,  itemOrUserFirst userFirst: { userClasses { userGroup { "cn=applicationAdmins,ou=groups,dc=example,dc=com" } }, userPermissions { { protectedItems {entry, allUserAttributeTypesAndValues},  grantsAndDenials { grantRead, grantReturnDN, grantBrowse, grantDiscloseOnError, grantCompare, grantAdd, grantRename, grantRemove, grantModify, grantImport, grantExport } } } } }
+
+
+#
+# This ACI allows members of the groupAdmins group to have full modify and read access
+# to all groups in the realm other than the superUsers, userAdmins, groupAdmins, and the 
+# applicationAdmins groups.
+#
+# The rational behind this is to prevent these users from changing their or other
+# users' access rights for the entire system by modifying their membership in these 
+# groups. Making someone a groupAdmin should not open the door to their ability to
+# grant themselves or others system wide administrative abilities.
+#
+# Really the groupAdmins group is intended for users that have the ability to manage 
+# group membership in specific application administration groups and that's all.  
+# These types of admins should not have the right to promote others to system level
+# administrators or complete super users.
+#
+ 
+dn: cn=groupAdminsAci,dc=example,dc=com
+objectClass: top
+objectClass: subentry
+objectClass: accessControlSubentry
+subtreeSpecification: { base "ou=groups", specificExclusions { chopBefore: "cn=userAdmins", chopBefore: "cn=groupAdmins", chopBefore: "cn=applicationAdmins", chopBefore: "cn=superUsers" } }
+prescriptiveACI: { identificationTag "groupAdminsAci", precedence 18, authenticationLevel simple,  itemOrUserFirst userFirst: { userClasses { userGroup { "cn=groupAdmins,ou=groups,dc=example,dc=com" } }, userPermissions { { protectedItems {entry, allUserAttributeTypesAndValues},  grantsAndDenials { grantRead, grantReturnDN, grantBrowse, grantDiscloseOnError, grantCompare, grantAdd, grantRename, grantRemove, grantModify, grantImport, grantExport } } } } }
+
+
+# ----------------------------------------------------------------------------
+# Required Kerberos Server User
+# ----------------------------------------------------------------------------
+
+dn: uid=krbtgt, ou=Users, dc=example,dc=com
+cn: Kerberos Server
+sn: Server
+givenName: Kerberos
+objectClass: top
+objectClass: uidObject
+objectClass: person
+objectClass: organizationalPerson
+objectClass: inetOrgPerson
+objectClass: krb5Principal
+objectClass: krb5KDCEntry
+ou: Users
+uid: krbtgt
+krb5PrincipalName: krbtgt/EXAMPLE.COM@EXAMPLE.COM
+krb5KeyVersionNumber: 0
+mail: admin@example.com
+userPassword: secret
+
+# ----------------------------------------------------------------------------
+# Sample Hauskeys Users
+# ----------------------------------------------------------------------------
+
+dn: uid=mplanck, ou=Users, dc=example,dc=com
+cn: Max Planck
+sn: Planck
+givenName: Max
+objectClass: top
+objectClass: uidObject
+objectClass: person
+objectClass: organizationalPerson
+objectClass: extensibleObject
+objectClass: inetOrgPerson
+objectClass: krb5Principal
+objectClass: krb5KDCEntry
+objectClass: safehausProfile
+ou: Users
+uid: mplanck
+krb5PrincipalName: mplanck@EXAMPLE.COM
+krb5KeyVersionNumber: 0
+mail: mplanck@example.com
+telephoneNumber: +1 904 982 6882
+facsimileTelephoneNumber: +1 904 982 6883
+roomNumber: 666
+apacheSamType: 7
+safehausUid: mplanck
+safehausRealm: EXAMPLE.COM
+safehausLabel: example realm
+safehausFactor: 27304238
+safehausSecret:: aaaabbbbccccdddd
+safehausFailuresInEpoch: 0
+safehausResynchCount: -1
+safehausTokenPin: 1234
+safehausInfo: test account
+safehausNotifyBy: sms
+userPassword: secret
+
+dn: uid=aeinstein, ou=Users, dc=example,dc=com
+cn: Albert Einstein
+sn: Einstein
+givenName: Albert
+objectClass: top
+objectClass: uidObject
+objectClass: person
+objectClass: organizationalPerson
+objectClass: extensibleObject
+objectClass: inetOrgPerson
+objectClass: krb5Principal
+objectClass: krb5KDCEntry
+objectClass: safehausProfile
+ou: Users
+uid: aeinstein
+krb5PrincipalName: aeinstein@EXAMPLE.COM
+krb5KeyVersionNumber: 0
+mail: aeinstein@example.com
+telephoneNumber: +1 904 982 6882
+facsimileTelephoneNumber: +1 904 982 6883
+roomNumber: 666
+apacheSamType: 7
+safehausUid: aeinstein
+safehausRealm: EXAMPLE.COM
+safehausLabel: example realm
+safehausFactor: 8745127341
+safehausSecret:: eeeeffffgggghhhh
+safehausFailuresInEpoch: 0
+safehausResynchCount: -1
+safehausTokenPin: 1234
+safehausInfo: test account
+safehausNotifyBy: sms
+userPassword: secret
+
+dn: uid=nbohr, ou=Users, dc=example,dc=com
+cn: Neils Bohr
+sn: Bohr
+givenName: Neils
+objectClass: top
+objectClass: uidObject
+objectClass: person
+objectClass: organizationalPerson
+objectClass: extensibleObject
+objectClass: inetOrgPerson
+objectClass: krb5Principal
+objectClass: krb5KDCEntry
+objectClass: safehausProfile
+ou: Users
+uid: nbohr
+krb5PrincipalName: nbohr@EXAMPLE.COM
+krb5KeyVersionNumber: 0
+mail: nbohr@example.com
+telephoneNumber: +1 904 982 6882
+facsimileTelephoneNumber: +1 904 982 6883
+roomNumber: 666
+apacheSamType: 7
+safehausUid: nbohr
+safehausRealm: EXAMPLE.COM
+safehausLabel: example realm
+safehausFactor: 8745127341
+safehausSecret:: iiiijjjjkkkkllll
+safehausFailuresInEpoch: 0
+safehausResynchCount: -1
+safehausTokenPin: 1234
+safehausInfo: test account
+safehausNotifyBy: sms
+userPassword: secret
+
+# ----------------------------------------------------------------------------
+# Sample Local Users (not 2-factor)
+# ----------------------------------------------------------------------------
+
+dn: uid=mborn, ou=Users, dc=example,dc=com
+cn: Max Born
+sn: Born
+givenName: Max
+objectClass: top
+objectClass: uidObject
+objectClass: person
+objectClass: organizationalPerson
+objectClass: inetOrgPerson
+objectClass: krb5Principal
+objectClass: krb5KDCEntry
+objectClass: safehausProfile
+ou: Users
+uid: mborn
+krb5PrincipalName: mborn@EXAMPLE.COM
+krb5KeyVersionNumber: 0
+mail: mborn@example.com
+telephoneNumber: +1 904 982 6882
+facsimileTelephoneNumber: +1 904 982 6883
+roomNumber: 667
+safehausUid: mborn
+safehausRealm: EXAMPLE.COM
+safehausLabel: example realm
+safehausFactor: 917483720127847
+safehausSecret:: xcJqp45S80e8fahs&@rq1I98awg8)^*
+safehausFailuresInEpoch: 0
+safehausTokenPin: 1234
+safehausResynchCount: -1
+safehausInfo: test account
+safehausNotifyBy: sms
+userPassword: secret
+
+dn: uid=wpauli, ou=Users, dc=example,dc=com
+cn: Wolfgang Pauli
+sn: Pauli
+givenName: Wolfgang
+objectClass: top
+objectClass: uidObject
+objectClass: person
+objectClass: organizationalPerson
+objectClass: inetOrgPerson
+objectClass: krb5Principal
+objectClass: krb5KDCEntry
+objectClass: safehausProfile
+ou: Users
+uid: wpauli
+krb5PrincipalName: wpauli@EXAMPLE.COM
+krb5KeyVersionNumber: 0
+mail: wpauli@example.com
+telephoneNumber: +1 904 982 6882
+facsimileTelephoneNumber: +1 904 982 6883
+roomNumber: 667
+safehausUid: wpauli
+safehausRealm: EXAMPLE.COM
+safehausLabel: example realm
+safehausFactor: 917483720127847
+safehausSecret:: xcJqp45S80e8fahs&@rq1I98awg8)^*
+safehausFailuresInEpoch: 0
+safehausTokenPin: 1234
+safehausResynchCount: -1
+safehausInfo: test account
+safehausNotifyBy: sms
+userPassword: secret
+
+dn: uid=mcurie, ou=Users, dc=example,dc=com
+cn: Marie Curie
+sn: Curie
+givenName: Marie
+objectClass: top
+objectClass: uidObject
+objectClass: person
+objectClass: organizationalPerson
+objectClass: inetOrgPerson
+objectClass: krb5Principal
+objectClass: krb5KDCEntry
+objectClass: safehausProfile
+ou: Users
+uid: mcurie
+krb5PrincipalName: mcurie@EXAMPLE.COM
+krb5KeyVersionNumber: 0
+mail: mcurie@example.com
+telephoneNumber: +1 904 982 6882
+facsimileTelephoneNumber: +1 904 982 6883
+roomNumber: 667
+safehausUid: mcurie
+safehausRealm: EXAMPLE.COM
+safehausLabel: example realm
+safehausFactor: 917483720127847
+safehausSecret:: xcJqp45S80e8fahs&@rq1I98awg8)^*
+safehausFailuresInEpoch: 0
+safehausTokenPin: 1234
+safehausResynchCount: -1
+safehausInfo: test account
+safehausNotifyBy: sms
+userPassword: secret
+
+# ----------------------------------------------------------------------------
+# Sample External Users (not 2-factor)
+# ----------------------------------------------------------------------------
+
+dn: uid=pdirac, ou=Users, dc=example,dc=com
+objectClass: top
+objectClass: uidObject
+objectClass: extensibleObject
+objectClass: referral
+uid: pdirac
+ref: ldap://ad.example.com/uid=pdirac, ou=Users, dc=example,dc=com
+
+dn: uid=efermi, ou=Users, dc=example,dc=com
+objectClass: top
+objectClass: uidObject
+objectClass: extensibleObject
+objectClass: referral
+uid: efermi
+ref: ldap://openldap.example.com/uid=efermi, ou=Users, dc=example,dc=com
+
+dn: uid=rfeynman, ou=Users, dc=example,dc=com
+objectClass: top
+objectClass: uidObject
+objectClass: extensibleObject
+objectClass: referral
+uid: rfeynman
+ref: ldap://apacheds.example.com/uid=rfeynman, ou=Users, dc=example,dc=com
+
+# ----------------------------------------------------------------------------
+# Applications
+# ----------------------------------------------------------------------------
+
+dn: ou=Applications,dc=example,dc=com
+objectClass: top
+objectClass: organizationalunit
+ou: applications
+
+dn: appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyApplication
+objectclass: top
+appname: demo
+description: Demo application.
+userpassword:: c2VjcmV0
+
+dn: ou=permissions,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: organizationalUnit
+objectclass: top
+ou: permissions
+
+dn: permname=bend,ou=permissions,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyPermission
+objectclass: top
+permname: bend
+
+dn: permname=fold,ou=permissions,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyPermission
+objectclass: top
+permname: fold
+
+dn: permname=mutilate,ou=permissions,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyPermission
+objectclass: top
+permname: mutilate
+
+dn: permname=spindle,ou=permissions,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyPermission
+objectclass: top
+permname: spindle
+
+dn: permname=twist,ou=permissions,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyPermission
+objectclass: top
+permname: twist
+
+dn: ou=roles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: organizationalUnit
+objectclass: top
+ou: roles
+
+dn: rolename=superuser,ou=roles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyRole
+objectclass: top
+grants: bend
+grants: fold
+grants: mutilate
+grants: spindle
+grants: twist
+rolename: superuser
+
+dn: rolename=untrusted,ou=roles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyRole
+objectclass: top
+grants: bend
+rolename: untrusted
+
+dn: rolename=trusted,ou=roles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyRole
+objectclass: top
+grants: bend
+grants: fold
+grants: mutilate
+rolename: trusted
+
+dn: ou=profiles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: organizationalUnit
+objectclass: top
+ou: profiles
+
+dn: profileid=nbohr,ou=profiles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyProfile
+objectclass: top
+profileid: nbohr
+roles: trusted
+user: nbohr
+
+dn: profileid=nbohr-superuser,ou=profiles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyProfile
+objectclass: top
+denials: fold
+profileid: nbohr-superuser
+roles: superuser
+user: nbohr
+
+dn: profileid=mborn,ou=profiles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyProfile
+objectclass: top
+grants: twist
+profileid: mborn
+roles: trusted
+user: mborn
+
+dn: profileid=aeinstein,ou=profiles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyProfile
+objectclass: top
+grants: twist
+profileid: aeinstein
+roles: trusted
+user: aeinstein
+
+dn: profileid=mcurie,ou=profiles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyProfile
+objectclass: top
+grants: spindle
+profileid: mcurie
+roles: trusted
+user: mcurie
+
+dn: profileid=wpauli,ou=profiles,appname=demo,ou=Applications,dc=example,dc=com
+objectclass: policyProfile
+objectclass: top
+profileid: wpauli
+roles: untrusted
+user: wpauli
+
+dn: appName=tsecAdminTool,ou=Applications,dc=example,dc=com
+objectClass: policyApplication
+objectClass: top
+appName: safehausAdminUI
+description: Policy for Safehaus web and swing based administration UIs.
+userPassword: secret
+
+dn: ou=Permissions,appName=tsecAdminTool,ou=Applications,dc=example,dc=com
+objectClass: organizationalUnit
+objectClass: top
+ou: Permissions
+
+dn: ou=Roles,appName=tsecAdminTool,ou=Applications,dc=example,dc=com
+objectClass: organizationalUnit
+objectClass: top
+ou: Roles
+
+dn: ou=Profiles,appName=tsecAdminTool,ou=Applications,dc=example,dc=com
+objectClass: organizationalUnit
+objectClass: top
+ou: Profiles

Added: directory/trunks/triplesec/swing-admin/src/test/resources/server.xml
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-admin/src/test/resources/server.xml?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-admin/src/test/resources/server.xml (added)
+++ directory/trunks/triplesec/swing-admin/src/test/resources/server.xml Tue Dec 12 07:23:31 2006
@@ -0,0 +1,250 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
+  "http://www.springframework.org/dtd/spring-beans.dtd">
+
+<beans>
+  <bean id="environment" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
+    <property name="properties">
+      <props>
+        <prop key="java.naming.security.authentication">simple</prop>
+        <prop key="java.naming.security.principal">uid=admin,ou=system</prop>
+        <prop key="java.naming.security.credentials">secret</prop>
+        <prop key="java.naming.provider.url">dc=example,dc=com</prop>
+        <prop key="java.naming.factory.state">org.safehaus.triplesec.store.ProfileStateFactory</prop>
+        <prop key="java.naming.factory.object">org.safehaus.triplesec.store.ProfileObjectFactory</prop>
+
+        <prop key="kdc.primary.realm">EXAMPLE.COM</prop>
+        <prop key="kdc.principal">krbtgt/EXAMPLE.COM@EXAMPLE.COM</prop>
+        <prop key="kdc.encryption.types">des-cbc-md5 des3-cbc-sha1 des3-cbc-md5 des-cbc-md4 des-cbc-crc</prop>
+        <prop key="kdc.entryBaseDn">ou=users,dc=example,dc=com</prop>
+        <prop key="kdc.java.naming.security.credentials">secret</prop>
+
+        <prop key="changepw.entryBaseDn">ou=users,dc=example,dc=com</prop>
+        <prop key="changepw.java.naming.security.credentials">secret</prop>
+        <prop key="changepw.principal">kadmin/changepw@EXAMPLE.COM</prop>
+
+        <!-- All times are in minutes -->
+        <prop key="kdc.allowable.clockskew">5</prop>
+        <prop key="kdc.tgs.maximum.ticket.lifetime">1440</prop>
+        <prop key="kdc.tgs.maximum.renewable.lifetime">10080</prop>
+        <prop key="kdc.pa.enc.timestamp.required">true</prop>
+        <prop key="kdc.tgs.empty.addresses.allowed">true</prop>
+        <prop key="kdc.tgs.forwardable.allowed">true</prop>
+        <prop key="kdc.tgs.proxiable.allowed">true</prop>
+        <prop key="kdc.tgs.postdate.allowed">true</prop>
+        <prop key="kdc.tgs.renewable.allowed">true</prop>
+
+        <prop key="safehaus.entry.basedn">ou=Users,dc=example,dc=com</prop>
+        <prop key="safehaus.load.testdata">true</prop>
+        <prop key="kerberos.sam.type.7">org.safehaus.triplesec.verifier.hotp.DefaultHotpSamVerifier</prop>
+      </props>
+    </property>
+  </bean>
+
+  <bean id="configuration" class="org.safehaus.triplesec.configuration.MutableTriplesecStartupConfiguration">
+    <property name="workingDirectory"><value>partitions</value></property>
+    <property name="allowAnonymousAccess"><value>false</value></property>
+    <property name="accessControlEnabled"><value>true</value></property>
+    <property name="ldapPort"><value>10389</value></property>
+    <property name="enableKerberos"><value>true</value></property>
+    <property name="enableNtp"><value>false</value></property>
+    <property name="enableChangePassword"><value>true</value></property>
+
+    <!-- Uncomment below to have the server load entries on startup!        -->
+    <!-- ldifDirectory property can point to a relative file, directory or  -->
+    <!-- can point to an absolute path to either using the URL path         -->
+    <!-- notation: i.e. file:///Users/jack/apacheds/ldifs                   -->
+
+    <!-- Entries will optionally be filtered using LdifLoadFilters in the   -->
+    <!-- order specified.  The included Krb5KdcEntryFilter will filter      -->
+    <!-- kerberos principals creating keys for them using their             -->
+    <!-- userPassword attribute if present.                                 -->
+
+    <!-- If missing the Triplesec server will use LDIF files under the conf -->
+    <!-- directory where it has been installed.                             -->
+
+    <!--
+    <property name="ldifDirectory">
+      <value>example.ldif</value>
+    </property>
+    -->
+    <property name="ldifFilters">
+      <list>
+        <bean class="org.apache.directory.server.protocol.shared.store.Krb5KdcEntryFilter"/>
+      </list>
+    </property>
+
+    <property name="activationConfiguration">
+      <bean class="org.safehaus.triplesec.configuration.ActivationConfiguration">
+        <property name="enableDecoyMidlet"><value>true</value></property>
+        <property name="otpLength"><value>6</value></property>
+        <property name="midletNameAttribute"><value>midletNameAttribute</value></property>
+      </bean>  
+    </property>    
+    
+    <property name="smsConfiguration">
+      <bean class="org.safehaus.triplesec.configuration.SmsConfiguration">
+        <property name="smsUsername"><value>hauskeys</value></property>
+        <property name="smsPassword"><value>secret</value></property>
+        <property name="smsAccountName"><value>demo</value></property>
+        <property name="smsTransportUrl"><value>http://www.nbroadcasting.com/customers/messages/Sender.asp</value></property>
+      </bean>  
+    </property>    
+    
+    <property name="smtpConfiguration">
+      <bean class="org.safehaus.triplesec.configuration.SmtpConfiguration">
+        <property name="smtpAuthenticate"><value>false</value></property>
+        <!-- uncomment and set above property if authentication is required by mail server
+             <property name="smtpUsername"><value>hauskeys</value></property>
+             <property name="smtpPassword"><value>secret</value></property>
+             -->
+             <property name="smtpHost"><value>localhost</value></property>
+             <property name="smtpSubject"><value>Triplesec Account Activated</value></property>
+             <property name="smtpFrom"><value>dev@safehaus.org</value></property>
+           </bean>  
+         </property>    
+         
+    <property name="contextPartitionConfigurations">
+      <set>
+        <ref bean="examplePartitionConfiguration"/>
+      </set>
+    </property>
+    <property name="bootstrapSchemas">
+      <set>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.CorbaSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.CoreSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.CosineSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.ApacheSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.CollectiveSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.InetorgpersonSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.JavaSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.Krb5kdcSchema"/>
+        <bean class="org.apache.directory.server.core.schema.bootstrap.SystemSchema"/>
+        <bean class="org.safehaus.triplesec.store.schema.SafehausSchema"/>
+      </set>
+    </property>
+    
+    <property name="extendedOperationHandlers">
+      <list>
+        <bean class="org.apache.directory.server.ldap.support.extended.GracefulShutdownHandler"/>
+        <bean class="org.apache.directory.server.ldap.support.extended.LaunchDiagnosticUiHandler"/>
+      </list>
+    </property>  
+
+    <property name="interceptorConfigurations">
+      <list>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>normalizationService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.normalization.NormalizationService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>authenticationService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.authn.AuthenticationService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>referralService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.referral.ReferralService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>authorizationService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.authz.AuthorizationService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>defaultAuthorizationService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.authz.DefaultAuthorizationService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>exceptionService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.exception.ExceptionService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>schemaService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.schema.SchemaService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>subentryService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.subtree.SubentryService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>operationalAttributeService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.operational.OperationalAttributeService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>collectiveAttributeService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.collective.CollectiveAttributeService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>eventService</value></property>
+          <property name="interceptor">
+            <bean class="org.apache.directory.server.core.event.EventService" />
+          </property>
+        </bean>
+        <bean class="org.apache.directory.server.core.configuration.MutableInterceptorConfiguration">
+          <property name="name"><value>policyProtectionService</value></property>
+          <property name="interceptor">
+            <bean class="org.safehaus.triplesec.store.interceptor.PolicyProtectionInterceptor" />
+          </property>
+        </bean>
+      </list>
+    </property>
+  </bean>
+  
+  <bean id="examplePartitionConfiguration" class="org.apache.directory.server.core.configuration.MutablePartitionConfiguration">
+    <property name="name"><value>example</value></property>
+    <property name="suffix"><value>dc=example,dc=com</value></property>
+    <property name="indexedAttributes">
+      <set>
+        <value>objectClass</value>
+        <value>ou</value>
+        <value>dc</value>
+        <value>uid</value>
+        <value>profileId</value>
+        <value>roles</value>
+        <value>grants</value>
+        <value>denials</value>
+        <value>krb5PrincipalName</value>
+      </set>
+    </property>
+    <property name="contextEntry">
+      <value>
+        objectClass: top
+        objectClass: domain
+        objectClass: extensibleObject
+        dc: example
+        administrativeRole: accessControlSpecificArea
+        administrativeRole: collectiveAttributeSpecificArea
+      </value>
+    </property>
+  </bean>
+
+  <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
+    <property name="customEditors">
+      <map>
+        <entry key="javax.naming.directory.Attributes">
+          <bean class="org.apache.directory.server.core.configuration.AttributesPropertyEditor"/>
+        </entry>
+      </map>
+   </property>
+  </bean>
+</beans>

Added: directory/trunks/triplesec/swing-demo/pom.xml
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-demo/pom.xml?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-demo/pom.xml (added)
+++ directory/trunks/triplesec/swing-demo/pom.xml Tue Dec 12 07:23:31 2006
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+    http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License. 
+-->
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.safehaus.triplesec</groupId>
+    <artifactId>build</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <artifactId>triplesec-swing-demo</artifactId>
+  <name>Triplesec Swing Demo Application</name>
+  <description>
+    A standalone gui fat client demonstrating guardian's dynamic
+    dynamic update capabilities with the event API using the LDAP 
+    based guardian driver.
+  </description>
+  <packaging>jar</packaging>  
+  <dependencies>
+    <dependency>
+      <artifactId>nlog4j</artifactId>
+      <groupId>org.slf4j</groupId>
+      <version>1.2.25</version>
+    </dependency>
+    <dependency>
+      <artifactId>triplesec-guardian-ldap</artifactId>
+      <groupId>${pom.groupId}</groupId>
+      <version>${pom.version}</version>
+    </dependency>
+    <dependency>
+      <artifactId>triplesec-jaas</artifactId>
+      <groupId>${pom.groupId}</groupId>
+      <version>${pom.version}</version>
+    </dependency>
+    <dependency>
+      <artifactId>triplesec-integration</artifactId>
+      <groupId>${pom.groupId}</groupId>
+      <version>${pom.version}</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <systemProperties>
+            <property>
+              <name>org.safehaus.triplesec.integration.resourcesDirectory</name>
+              <value>${basedir}/src/test/resources</value>
+            </property>
+          </systemProperties>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+      	<artifactId>maven-jar-plugin</artifactId>
+      	<configuration>
+      	  <archive>
+      	    <manifest>
+      	      <mainClass>org.safehaus.triplesec.guardian.demo.DemoFrame</mainClass>
+      	    </manifest>
+      	  </archive>
+      	</configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+      	<artifactId>maven-assembly-plugin</artifactId>
+      	<version>2.1-SNAPSHOT</version>
+      	<configuration>
+      	  <archive>
+      	    <manifest>
+      	      <mainClass>org.safehaus.triplesec.guardian.demo.DemoFrame</mainClass>
+      	    </manifest> 
+      	  </archive>
+          <descriptor>src/main/assembly/demo.xml</descriptor>
+          <classifier>app</classifier>
+          <appendAssemblyId>false</appendAssemblyId>
+      	</configuration>
+      </plugin>
+    </plugins>
+  </build>
+  
+  <profiles>
+    <profile>
+      <id>default</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties>
+                <property>
+                  <name>settingsFile</name>
+                  <value>${basedir}/target/settingsFile</value>
+                </property>
+              </systemProperties>
+              <excludes>
+                <!-- Do not run this test since it never exists -->
+                <exclude>**/LaunchDemoFrame.java</exclude>
+                <!-- Avoid normal integration tests -->
+                <exclude>**/*ITest.java</exclude>
+                <exclude>**/*IntegrationTest.java</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>integration</id>
+      <activation>
+        <property><name>integration</name></property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties>
+                <property>
+                  <name>settingsFile</name>
+                  <value>${basedir}/target/settingsFile</value>
+                </property>
+                <property>
+                  <name>org.safehaus.triplesec.integration.resourcesDirectory</name>
+                  <value>${basedir}/src/test/resources</value>
+                </property>
+              </systemProperties>
+              <excludes>
+                <!-- Do not run this test since it never exists -->
+                <exclude>**/LaunchDemoFrame.java</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
+      <id>ui</id>
+      <activation>
+        <property><name>ui</name></property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties>
+                <property>
+                  <name>org.safehaus.triplesec.integration.resourcesDirectory</name>
+                  <value>${basedir}/src/test/resources</value>
+                </property>
+                <property>
+                  <name>serverConfigurationPath</name>
+                  <value>${basedir}/target/serverHome</value>
+                </property>
+              </systemProperties>
+              <includes>
+                <include>**/LaunchDemoFrame.java</include>
+              </includes>
+              <excludes>
+                <exclude>**/*Test.java</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+</project>

Added: directory/trunks/triplesec/swing-demo/sample.properties
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-demo/sample.properties?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-demo/sample.properties (added)
+++ directory/trunks/triplesec/swing-demo/sample.properties Tue Dec 12 07:23:31 2006
@@ -0,0 +1,5 @@
+realm=EXAMPLE.COM
+connectionUrl=ldap://localhost:10389/dc=example,dc=com
+applicationCredentials=secret
+applicationPrincipalDn=appname=demo,ou=Applications,dc=example,dc=com
+driver=org.safehaus.triplesec.guardian.ldap.LdapConnectionDriver

Added: directory/trunks/triplesec/swing-demo/src/main/assembly/demo.xml
URL: http://svn.apache.org/viewvc/directory/trunks/triplesec/swing-demo/src/main/assembly/demo.xml?view=auto&rev=486187
==============================================================================
--- directory/trunks/triplesec/swing-demo/src/main/assembly/demo.xml (added)
+++ directory/trunks/triplesec/swing-demo/src/main/assembly/demo.xml Tue Dec 12 07:23:31 2006
@@ -0,0 +1,42 @@
+<assembly>
+  <id>demo</id>
+  <formats>
+    <format>jar</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>target/classes</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+  </fileSets>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>/</outputDirectory>
+      <unpack>true</unpack>
+      <scope>runtime</scope>
+      <excludes>
+        <exclude>aopalliance:aopalliance</exclude>
+        <exclude>jasperreports:jasperreports</exclude>
+        <exclude>freemarker:freemarker</exclude>
+        <exclude>asm:asm-util</exclude>
+        <exclude>asm:asm</exclude>
+        <exclude>com.jamonapi:jamon</exclude>
+        <exclude>xerces:xerces</exclude>
+        <exclude>commons-pool:commons-pool</exclude>
+        <exclude>com.sun:tools</exclude>
+        <exclude>oro:oro</exclude>
+        <exclude>xml-apis:xml-apis</exclude>
+        <exclude>aspectwerkz:aspectwerkz-core</exclude>
+        <exclude>velocity:velocity</exclude>
+        <exclude>velocity:velocity-dep</exclude>
+        <exclude>org.springframework:spring-aop</exclude>
+        <exclude>qdox:qdox</exclude>
+        <exclude>commons-attributes:commons-attributes-compiler</exclude>
+        <exclude>commons-attributes:commons-attributes-api</exclude>
+        <exclude>cglib:cglib</exclude>
+        <exclude>ant:ant</exclude>
+      </excludes>
+    </dependencySet>
+  </dependencySets>
+</assembly>



Mime
View raw message