Community
Participate
Working Groups
The ArtifactType class contains a method newArtifactType() that returns one of four hardcoded static ArtifactType instances. In order to allow for other profiles that define new artifact types (such as the Basic Security Profile) in other packages to reuse these base assertion classes, you should be able to register new artifact types from elsewhere.
Created attachment 39157 [details] patch to allow registration of ArtifactTypes This patch does the following: - Adds a private static variable to ArtifactType that holds a map containing the valid TAD versions - Statically initializes this map to contain the artifact types from the Basic Profile - Adds API to allow other classes to register ArtifactTypes - Modifies the newArtifactType() method to use the new Map variable
I'll try to look at this for WTP 3.0