On Tuesday, January 22, 2013 at 12:45 PM, Pedro Igor Silva wrote:
Hi All,Today, we released a new timed version for the PicketLink IDM project. The documentation and quickstarts are being elaborated, but you can always check the test cases for a lot of usage examples.<dependency><groupId>org.picketlink</groupId><artifactId>picketlink-idm-impl</artifactId><version>3.0.0-2013Jan22</version></dependency>The code bellow shows how to quick start using the file-based store:// initialization codeIdentityConfiguration config = new IdentityConfiguration();config.addStoreConfiguration(new FileIdentityStoreConfiguration());IdentityManager identityManager = new DefaultIdentityManager();identityManager.bootstrap(config, new DefaultIdentityStoreInvocationContextFactory());// let's create some users, roles and groups.User user = new SimpleUser("someUser");user.setAttribute(new Attribute<String>("someAttribute", "someValue"));identityManager.add(user);Role role = new SimpleRole("someRole");identityManager.add(role);Group group = new SimpleGroup("someGroup");identityManager.add(group);// let's create some relationshipsidentityManager.grantRole(user, role);identityManager.addToGroup(user, group);identityManager.grantGroupRole(user, role, group);This is the first version that supports all major features, including: (for the JPA and File identity stores, only)- Identity Types Management (Common functionality for User, Group and Roles)- Create, Update and Remove- Custom attributes- Queries can be done using all suported parameters. Including custom attributes.- Organization by Partition (Realm or Tiers)- Relationship- Create, Update and Remove- Custom attributes- Queries can be done using all supported parameters. Including custom attributes.- Supports custom Relationships (user-defined)- Provided Relationships:- Grant (User x Roles: User has Role )- GroupRole (User x Group x Role: User has Role as member of Group)- GroupMembership (User x Group: User is member of Group)- Credential- Password- Digest- Certificate- Credential expiration- Partition- Create and Remove Realm- Create and Remove Partition- Contextualized IdentityManager for Partition (forRealm and forTier methods)- Query Identity Types by Partition- Considering all requirements for Realm and Tiers (*Check with Shane*)- Query Support- Pagination and result countAny feedback would be appreciated.Regards.Pedro Igor_______________________________________________security-dev mailing list