Group Profile Property Sets?

It seems odd that property sets for users and groups are intermingled. It seems
that Workshop should have a “groupprofiles” in addition to the “userprofiles”
folder, allowing you to create property sets that are designated for users or
groups. The ones for users should not show up when editing properties for a group
(in Admin Tools) and visa versa. It is very error prone and confusing for all
property sets to show up for users and groups. A better solution might be for
each property set to have a “type” selection that includes “user”, “group” (and
perhaps “both”). Actually, the XML file "xxx.usr" does have a type field, but
it seems the only valid value is USER. I tried putting GROUP in there but it caused
problems.
Any info on this?

Phil,
The reason the same property set can be used for both users and groups is to
allow you set up an inheritance hierarchy from user to group. This was more
obvious in the WLP 4/7x architecture where there was a 1:1 between a portal
and a user-group. Defaults for properties were inherited from the group
property
set settings and a user overrode those (by "personalizing") the
profile/property set
with their own values.
-Phil
"Phil Grimm" <[email protected]> wrote in message
news:3fabff3f$[email protected]..
>
It seems odd that property sets for users and groups are intermingled. Itseems
that Workshop should have a "groupprofiles" in addition to the"userprofiles"
folder, allowing you to create property sets that are designated for usersor
groups. The ones for users should not show up when editing properties fora group
(in Admin Tools) and visa versa. It is very error prone and confusing forall
property sets to show up for users and groups. A better solution might befor
each property set to have a "type" selection that includes "user", "group"(and
perhaps "both"). Actually, the XML file "xxx.usr" does have a type field,but
it seems the only valid value is USER. I tried putting GROUP in there butit caused
problems.
Any info on this?

Similar Messages

  • Entitlement segments and property sets

    We have an entitlement segment that queries a property in a property set. It doesn't
    seem to be able to access the user's groups' properties. Even if the user has
    no specified value for the property, the group's property set is not consulted.
    Does anyone know of a way around this?

    C,
    Because a user can belong to multiple groups there is no automatic group
    successorship for properties. Consider a situation where a user belongs to
    group A and group B. Both group A and B have a property called "foo". If
    the user has no property called "foo" then which "foo" do we want? Do we
    want the one from A or B? So we need a way to specify what groups property
    set is to be used as the successor. To do this use the
    ProfileWrapper.setSuccessor(java.lang.String propertySet, java.lang.String
    successor) method. On the other hand, because groups can have only one
    parent group, there is automatic property set successorship from one group
    to its parent. I hope this helps.
    See ProfileWrapper Javadoc:
    http://edocs/wlp/docs70/javadoc/index.html
    russ
    "C" <[email protected]> wrote in message
    news:3e8b7cd1$[email protected]..
    >
    We have an entitlement segment that queries a property in a property set.It doesn't
    seem to be able to access the user's groups' properties. Even if the userhas
    no specified value for the property, the group's property set is notconsulted.
    >
    Does anyone know of a way around this?

  • Set default value for a custom user profile property

    Hello,
    I have a custom user profile property of type boolean. How can I by default set the value to true? OOB the checkbox remains unchecked.
    Any help on this would be appreciated.
    Thanks,
    Neha

    Hi,
    It is not possible out of the box. You can try to create a custom user profile propery programmatically, this article can help you to get started:http://msdn.microsoft.com/en-us/library/ms519896.aspx
    Xue-Mei Chang

  • Property Set Deployment

    Hello All:
    I am looking for a way to deploy a property set file; joedoe.usr to Weblogic Portal 8.1. Has anyone successfully deployed a property set file (including the UUP ejb that uses it) to WebLogic outside of Workshop? If so, can you provide steps to do so?
    FYI, I created a property set file and added to my ear in the META-INF directory. When I deploy my ear to Weblogic, I can see my portal application and all the portal resources in the Portal Admin. However, I do not see my "custom" property set when editing a user. My constraint is that my application must not use Workshop to create and deploy.
    Thank you,
    Southin

    Hi Deepak:
    Thank you for replying to my message. Unfortunately, the example the BEA does not work for me. Yes my corporateProfile.usr is in the data/userprofiles folder where the CustomerProperties.usr resides. My custom ejb that extends extends com.bea.p13n.property.EntityPropertyManager is successfully deployed, however I cannot see the property set that I created in the Portal Admin console.
    Attached are my weblogic-ejb-jar.xm and ejb-jar.xml files that I edit after following the instructions for "Deploy a ProfileManager That Can Use the New EntityPropertyManager." Does anyone see something wrong?
    ------------------------ ejb-jar.xml -------------
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC
    '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
    'http://java.sun.com/dtd/ejb-jar_2_0.dtd' >
    <ejb-jar>
    <enterprise-beans>
    <!-- TrackedAnonymous EJB -->
    <entity>
    <ejb-name>TrackedAnonymous</ejb-name>
    <home>com.bea.p13n.usermgmt.profile.TrackedAnonymousHome</home>
    <remote>com.bea.p13n.usermgmt.profile.TrackedAnonymous</remote>
    <ejb-class>com.bea.p13n.usermgmt.profile.internal.TrackedAnonymousBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>TrackedAnonymousBean</abstract-schema-name>
    <cmp-field>
    <field-name>anonymousUserId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>lastVisited</field-name>
    </cmp-field>
    <primkey-field>anonymousUserId</primkey-field>
    <ejb-local-ref>
    <description>Reference to TrackedPropertySet EJB</description>
    <ejb-ref-name>ejb/TrackedPropertySet</ejb-ref-name>
    <ejb-ref-type>Entity</ejb-ref-type>
    <local-home>com.bea.p13n.property.TrackedPropertySetHome</local-home>
    <local>com.bea.p13n.property.TrackedPropertySet</local>
    <ejb-link>TrackedPropertySet</ejb-link>
    </ejb-local-ref>
    </entity>
    <!-- Tracked Property Set EJB -->
    <!-- Local interfaces for this one only, because it's referred to only by TrackedAnonymous.
    The relationships bewteen these two EJBs are defined in the 'relationships' attribute at
    the end of this file. -->
    <entity>
    <ejb-name>TrackedPropertySet</ejb-name>
    <local-home>com.bea.p13n.property.TrackedPropertySetHome</local-home>
    <local>com.bea.p13n.property.TrackedPropertySet</local>
    <ejb-class>com.bea.p13n.property.internal.TrackedPropertySetBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>TrackedPropertySetBean</abstract-schema-name>
    <cmp-field>
    <field-name>anonymousPropertyId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>anonymousUserId</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>propertySetName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>propertyName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>propertyValue</field-name>
    </cmp-field>
    <primkey-field>anonymousPropertyId</primkey-field>
    <!-- Find all property sets with the same anonymous user id. This gives us all property sets associated with a single
    TrackedAnonymous EJB -->
    <query>
    <query-method>
    <method-name>findByAnonymousUserId</method-name>
    <method-params>
    <method-param>java.lang.String</method-param>
    </method-params>
    </query-method>
    <ejb-ql>SELECT OBJECT (a) FROM TrackedPropertySetBean a WHERE a.anonymousUserId = ?1 </ejb-ql>
    </query>
    </entity>
    <!-- PropertySetManager EJB -->
    <session>
    <ejb-name>PropertySetManager</ejb-name>
    <home>com.bea.p13n.property.PropertySetManagerHome</home>
    <remote>com.bea.p13n.property.PropertySetManager</remote>
    <ejb-class>com.bea.p13n.property.internal.PropertySetManagerImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <env-entry>
    <env-entry-name>repository/CONTENT</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>com.bea.content.manager.propertysets.PropertySetRepositoryImpl</env-entry-value>
    </env-entry>
    <!-- following are mappings from file extension to property set type -->
    <env-entry>
    <env-entry-name>extension/clg</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>CATALOG</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>extension/evt</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>EVENT</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>extension/req</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>REQUEST</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>extension/ses</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>SESSION</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>extension/usr</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>USER</env-entry-value>
    </env-entry>
    <!-- the ejb/ContentManagers branch is for the
    com.bea.p13n.content.PropertyRepositoryImpl
    -->
    <ejb-ref>
    <ejb-ref-name>ejb/ContentManagers/Document</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.content.document.DocumentManagerHome</home>
    <remote>com.bea.p13n.content.document.DocumentManager</remote>
    <!-- FIXME. Eventually need to rework user manager stuff so we can do this. For now, the DocumentManager
    is in weblogic-ejb-jar.xml, where it is deployed only if it is referenced.
    <ejb-link>wps.jar#DocumentManager</ejb-link> -->
    </ejb-ref>
    </session>
    <!-- EntityPropertyManager EJB -->
    <session>
    <ejb-name>EntityPropertyManager</ejb-name>
    <home>com.bea.p13n.property.EntityPropertyManagerHome</home>
    <remote>com.bea.p13n.property.EntityPropertyManager</remote>
    <ejb-class>com.bea.p13n.property.internal.EntityPropertyManagerImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-ref>
    <ejb-ref-name>ejb/PropertySetManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.property.PropertySetManagerHome</home>
    <remote>com.bea.p13n.property.PropertySetManager</remote>
    <ejb-link>PropertySetManager</ejb-link>
    </ejb-ref>
    <resource-ref>
    <res-ref-name>jdbc/commercePool</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    <!-- Ldap Property Manager
    To use this, uncomment it here as well as in weblogic-ejb-jar.xml.
    Configure the LDAP connection and settings using the env-entry values (see descriptions below).
    Do not forget to uncomment the ejb-link and method-permission tags for the LdapPropertyManager.
    An easy way to ensure you don't miss anything is to search for "ldap" (case-insensitive) here AND in
    weblogic-ejb-jar.xml. Search from the beginning to the end of the file.
    <session>
    <ejb-name>LdapPropertyManager</ejb-name>
    <home>com.bea.p13n.usermgmt.profile.ldap.LdapPropertyManagerHome</home>
    <remote>com.bea.p13n.usermgmt.profile.ldap.LdapPropertyManager</remote>
    <ejb-class>com.bea.p13n.usermgmt.profile.ldap.internal.LdapPropertyManagerImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <env-entry>
    <description>Use SSL to connect to ldap server</description>
    <env-entry-name>config/useSSL</env-entry-name>
    <env-entry-type>java.lang.Boolean</env-entry-type>
    <env-entry-value>false</env-entry-value>
    </env-entry>
    <env-entry>
    <description>LDAP Server URL</description>
    <env-entry-name>config/serverURL</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>ldap://server.company.com:389</env-entry-value>
    </env-entry>
    <env-entry>
    <description>Principal name to use when connecting to the ldap server (optional).
    Anonymous bind will be used if not specified. This entry will be
    ignored if config/credentialMBeanName is set below. </description>
    <env-entry-name>config/principal</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot</env-entry-value>
    </env-entry>
    <env-entry>
    <description>The password of the principal specified above (required if principal set). This
    entry is ignored if config/credentialMBeanName is set below.</description>
    <env-entry-name>config/principalCredential</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>weblogic</env-entry-value>
    </env-entry>
    <env-entry>
    <description>The name of the Credential MBean in application-config.xml that will
    be used to store the principal's username and principal's password. The password
    will be stored in an encrypted form. This is the principal/credential used to bind to
    the LDAP server. The password will be decrypted before it is used to bind to the
    LDAP server.
    Using this entry will override anything set for the config/principal and
    config/principalCredential. If this entry and config/principal and
    config/principalCredential are not specified then anonymous bind will be used.
    (this entry is optional)</description>
    <env-entry-name>config/credentialMBeanName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>LdapPropertyManager</env-entry-value>
    </env-entry>
    <env-entry>
    <description> The location(s) of users in the ldap directory.
    There can be one or more user DNs. The entries are named like this:
    config/userDN
    config/userDN-1
    config/userDN-2
    and they are searched in that order.
    If there is only one, then it must be config/userDN
    Typical values:
    ou=People,o=company.com
    ou=People,dc=mycompany,dc=com
    </description>
    <env-entry-name>config/userDN</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>ou=People,o=company.com</env-entry-value>
    </env-entry>
    <env-entry>
    <description> The location(s) of groups in the ldap directory
    There can be one or more group DNs. The entries are named like this:
    config/groupDN
    config/groupDN-1
    config/groupDN-2
    and they are searched in that order.
    If there is only one, then it must be config/groupDN
    Typical values:
    ou=Groups,o=company.com
    ou=Groups,dc=mycompany,dc=com
    </description>
    <env-entry-name>config/groupDN</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>ou=Groups,o=company.com</env-entry-value>
    </env-entry>
    <env-entry>
    <description>A boolean to enbable/disable SUBTREE_SCOPE searches for user/group properties
    below the userDN(s) and groupDN(s). For example, if this property is true, then you could specify
    the "config/userDN" env-entry as ou=People,dc=mycompany,dc=com and users that are in both
    ou=PeopleA,ou=People,dc=mycompany,dc=com and in ou=PeopleB,ou=People,dc=mycompany,dc=com
    could be used. A getProperty() call would return a value for the first user found in
    the specified "config/userDN" or in any branch below it. This boolean also affects
    searches for group properties. If multiple userDNs (or groupDNs) are specified then
    this SUBTREE_SCOPE will apply to searches starting in all of those specified DNs.
    </description>
    <env-entry-name>config/objectPropertySubtreeScope</env-entry-name>
    <env-entry-type>java.lang.Boolean</env-entry-type>
    <env-entry-value>false</env-entry-value>
    </env-entry>
    <env-entry>
    <description>The user attribute to map to a username
    If there is only one, then it is applied to all userDNs.
    If there is more than one, then they are applied, in order,
    to the userDNs. If there is more than one, then the number must
    match the number of userDNs.
    The entries are named like this:
    config/usernameAttribute
    config/usernameAttribute-1
    config/usernameAttribute-2
    and they are used in that order.
    If there is only one, then it must be config/usernameAttribute
    </description>
    <env-entry-name>config/usernameAttribute</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>uid</env-entry-value>
    </env-entry>
    <env-entry>
    <description> The group attribute to map to a group name
    If there is only one, then it is applied to all groupDNs.
    If there is more than one, then they are applied, in order,
    to the groupDNs. If there is more than one, then the number must
    match the number of groupDNs.
    The entries are named like this:
    config/groupnameAttribute
    config/groupnameAttribute-1
    config/groupnameAttribute-2
    and they are used in that order.
    If there is only one, then it must be config/groupnameAttribute
    </description>
    <env-entry-name>config/groupnameAttribute</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>cn</env-entry-value>
    </env-entry>
    <env-entry>
    <description>Flag to specify if LDAP attributes will be determined to be
    single value or multi-value via the schema obtained from
    the attribute. If false, then the attribute is stored as
    multi-valued (a Collection) only if it has more than one value.
    Leave false unless you intend to use multi-valued LDAP attributes
    that may have only one value. Using true adds overhead to check the
    LDAP schema. Also, if you use true beware that most LDAP attributes
    are multi-value. For example, iPlanet Directory Server 5.x uses multi-value
    for givenName, which you may not expect unless you are familiar with LDAP
    schemas.
    This flag will apply to property searches for all userDNs and all groupDNs.
    </description>
    <env-entry-name>config/detectSingleValueFromSchema</env-entry-name>
    <env-entry-type>java.lang.Boolean</env-entry-type>
    <env-entry-value>false</env-entry-value>
    </env-entry>
    <env-entry>
    <description>Value of the name of the attribute in the LDAP schema that is used to
    determine single value or multi-value (RFC2252 uses SINGLE-VALUE)
    This attribute in the schema should be true for single value and false or
    absent from the schema otherwise.
    The value only matters if config/detectSingleValueFromSchema is true.
    </description>
    <env-entry-name>config/singleValueSchemaAttribute</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>SINGLE-VALUE</env-entry-value>
    </env-entry>
    <env-entry>
    <description> Name for the cache used by the ldap property manager
    If you deploy multiple LdapPropertyManager beans, you must set
    the caches to different names to avoid collisions.
    Defaults to "ldapPropertyCache" if unset.
    </description>
    <env-entry-name>config/ldapPropertyCacheName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>ldapPropertyCache</env-entry-value>
    </env-entry>
    </session>
    -->
    <!-- Property Set Web Service EJB -->
    <session>
    <ejb-name>PropertySetWebService</ejb-name>
    <home>com.bea.p13n.property.webservice.PropertySetWebServiceHome</home>
    <remote>com.bea.p13n.property.webservice.PropertySetWebService</remote>
    <ejb-class>com.bea.p13n.property.webservice.internal.PropertySetWebServiceImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-ref>
    <ejb-ref-name>ejb/PropertySetManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.property.PropertySetManagerHome</home>
    <remote>com.bea.p13n.property.PropertySetManager</remote>
    <ejb-link>PropertySetManager</ejb-link>
    </ejb-ref>
    </session>
    <!-- RulesManager EJB -->
    <session>
    <ejb-name>RulesManager</ejb-name>
    <home>com.bea.p13n.rules.manager.RulesManagerHome</home>
    <remote>com.bea.p13n.rules.manager.RulesManager</remote>
    <ejb-class>com.bea.p13n.rules.manager.internal.RulesManagerImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <env-entry>
    <description>
    This property will be used by RulesManagerImpl to create an instance of
    the RuleSetRepository.
    </description>
    <env-entry-name>RuleSetRepositoryClassName</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager</env-entry-value>
    </env-entry>
    </session>
    <!-- User Manager EJB -->
    <session>
    <ejb-name>UserManager</ejb-name>
    <home>com.bea.p13n.usermgmt.UserManagerHome</home>
    <remote>com.bea.p13n.usermgmt.UserManager</remote>
    <ejb-class>com.bea.p13n.usermgmt.internal.UserManagerImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <!-- ReservedUserNames is used to list all names (case insensitive)
    that are restricted: the UserManager will not create users
    with these names. The list is comma-delimited.
    -->
    <!--
    <env-entry>
    <env-entry-name>ReservedUserNames</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>foo,foo2</env-entry-value>
    </env-entry>
    -->
    <!-- ProtectedUserNames is used to list all names (case insensitive)
    that cannot be deleted through the UserManager (or portal tools).
    The list is comma-delimited.
    -->
    <!--
    <env-entry>
    <env-entry-name>ProtectedUserNames</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>foo,foo2</env-entry-value>
    </env-entry>
    -->
    <!-- The UserManager used programatic security to allow
    users to modify their own data (where username == profileName)
    or anyone in one of these (administrative) roles.
    Used in the methods: setPassword and removeUser.
    Other methods can be protected using declarative security.
    Should at least include the WebLogic Admin role, if left empty
    or mapped to "empty" roles, then no one will be able to admin
    user profiles.
    Each role listed here should also have a security-role-ref entry below -->
    <env-entry>
    <env-entry-name>AuthorizedRoles</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Admin,PortalSystemAdministrator</env-entry-value>
    </env-entry>
    <env-entry>
    <env-entry-name>disallowedUserCharacters</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>*,%</env-entry-value>
    </env-entry>
    <ejb-ref>
    <ejb-ref-name>ejb/UserProfileManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.usermgmt.profile.ProfileManagerHome</home>
    <remote>com.bea.p13n.usermgmt.profile.ProfileManager</remote>
    <ejb-link>UserProfileManager</ejb-link>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/ProfileType/WLCS_Customer</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.commerce.ebusiness.customer.CustomerProfileManagerHome</home>
    <remote>com.bea.commerce.ebusiness.customer.CustomerProfileManager</remote>
    <!-- FIXME. Can't do this without always deploying Customer. Eventually need
    to rework user manager stuff so we can do this. For now, the CustomerProfileManager
    is in weblogic-ejb-jar.xml, where it is deployed only if it is referenced.
    <ejb-link>commerce.jar#CustomerProfileManager</ejb-link> -->
    </ejb-ref>
    <!-- Security role refs for roles listed in AuthorizedRoles -->
    <security-role-ref>
    <description>Portal system administrators</description>
    <role-name>PortalSystemAdministrator</role-name>
    <role-link>PortalSystemAdministrator</role-link>
    </security-role-ref>
    <security-role-ref>
    <description>WLS System administrators</description>
    <role-name>Admin</role-name>
    <role-link>Admin</role-link>
    </security-role-ref>
    <resource-ref>
    <res-ref-name>jdbc/commercePool</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    <!-- Group Manager EJB -->
    <session>
    <ejb-name>GroupManager</ejb-name>
    <home>com.bea.p13n.usermgmt.GroupManagerHome</home>
    <remote>com.bea.p13n.usermgmt.GroupManager</remote>
    <ejb-class>com.bea.p13n.usermgmt.internal.GroupManagerImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <!-- ProtectedGroupNames is used to list all names (case insensitive)
    that cannot be deleted through the GroupManager (or portal tools).
    The list is comma-delimited.
    -->
    <env-entry>
    <env-entry-name>ProtectedGroupNames</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>Operators,Monitors,Deployers</env-entry-value>
    </env-entry>
    <ejb-ref>
    <ejb-ref-name>ejb/GroupProfileManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.usermgmt.profile.ProfileManagerHome</home>
    <remote>com.bea.p13n.usermgmt.profile.ProfileManager</remote>
    <ejb-link>GroupProfileManager</ejb-link>
    </ejb-ref>
    </session>
    <!-- Realm Configuration EJB -->
    <session>
    <ejb-name>RealmConfiguration</ejb-name>
    <home>com.bea.p13n.usermgmt.config.RealmConfigurationHome</home>
    <remote>com.bea.p13n.usermgmt.config.RealmConfiguration</remote>
    <ejb-class>com.bea.p13n.usermgmt.config.internal.RealmConfigurationImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <ejb-ref>
    <ejb-ref-name>ejb/GroupProfileManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.usermgmt.profile.ProfileManagerHome</home>
    <remote>com.bea.p13n.usermgmt.profile.ProfileManager</remote>
    <ejb-link>GroupProfileManager</ejb-link>
    </ejb-ref>
    <ejb-ref>
    <ejb-ref-name>ejb/UserProfileManager</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>com.bea.p13n.usermgmt.profile.ProfileManagerHome</home>
    <remote>com.bea.p13n.usermgmt.profile.ProfileManager</remote>
    <ejb-link>UserProfileManager</ejb-link>
    </ejb-ref>
    </session>
    <!-- User Profile Manager-->
    <session>
    <ejb-name>UserProfileManager</ejb-name>
    <home>com.bea.p13n.usermgmt.profile.ProfileManagerHome</home>
    <remote>com.bea.p13n.usermgmt.profile.ProfileManager</remote>
    <ejb-class>com.bea.p13n.usermgmt.profile.internal.UserProfileManagerImpl</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <!-- map all properties in property set ldap to ldap server -->
    <env-entry>
    <env-entry-name>PropertyMapping/ldap</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>LdapPropertyManager</env-entry-value>
    </env-entry>
         <!-- map all properties in corporateProfile property set to CorporateProfileManager -->
              <env-entry>
    <env-entry-name>PropertyMapping/corporateProfile</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>CorporateProfileManager</env-entry-value>
    </env-entry>
    <!-- The UserProfileManager used programatic security to allow
    users to modify their own data (where username == profileName)
    or anyone in one of these (administrative) roles.
    Used in the methods: deleteProfile, removeProperty,
    removeSuccessor, setProperty, and setSuccessor.
    Other methods can be protected using declarative security.
    Should at least include the WebLogic Admin role, if left empty
    or mapped to "empty" roles, then noone will be able to admin
    user profiles.
    Each role listed here should also have a security-role-ref entry below -->

  • Edit User profile Property - grayed out buttons

    I am trying to change the mapping for the Work email property in the User Profile but when I edit the property on the "Edit User Profile Property" page, the Property Mapping for Synchronization's "Remove" button is grayed out as well
    as Add New mappings "Add" button. I am logged on with the Farm account which has admin rights to  the UP.
    ITGirl

    Hi ,
    For the Add New Mapping's "Add" button grayed out, when I change to another/second "Synchronization Connection" from "Source Data Connection" dropdown, then "Add" button will be available.
    For the Property Mapping for Synchronization's "Remove" button grayed out,
    please make sure your Farm account or user account has the following permissions, then check results again.
    http://technet.microsoft.com/en-us/library/ee721049(v=office.15).aspx#MapUserProc
    The user account that performs this procedure is a farm administrator or an administrator of the User Profile service application.
    The user account that performs this procedure is a member of the Administrators group on the computer that is running SharePoint Server.
    Thanks
    Daniel Yang
    TechNet Community Support

  • How to modify the length of a user profile property

    I need to increase the length of a custom user profile property, but the length looks disabled when I try to edit and modify. Is there any way i could modify this by powershell or some other work around where I can increase the lenght of the script?

    You can't increase or decrease the size of one of the properties after they have been created.  You'll need to create a new property and programmatically copy the values from the other property to the new one.  Once that is done you can
    delete the old property.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Setting Multiple values in property set using java API

    Hello All,
    I want to set the properties of a profile in a property set using java API provided
    in package p13n. The property can have multiple values. When I try to add the
    property using ProfileManager.setProperty() method. But every time I do it this
    way, it replaces the earlier value of property and not added. This, I can achieve
    using portalTools but I want to use the API for user registration on the site.
    I hope the query is clear.
    Waiting for a response,
    Thanks in advance,
    Shrinivas

    You need to use java.util.ArrayList.
    First cast the existing value into ArrayList using getProperty method,
    change values in the ArrayList and then put them back with setProperty
    method.
    Regards,
    Michael Goldverg
    "Shrinivas Rao" <[email protected]> wrote in message
    news:3d64e7d9$[email protected]..
    >
    Hello All,
    I want to set the properties of a profile in a property set using java APIprovided
    in package p13n. The property can have multiple values. When I try to addthe
    property using ProfileManager.setProperty() method. But every time I do itthis
    way, it replaces the earlier value of property and not added. This, I canachieve
    using portalTools but I want to use the API for user registration on thesite.
    I hope the query is clear.
    Waiting for a response,
    Thanks in advance,
    Shrinivas

  • Cannot attach User property set within a Rule set

    Hi,
    I cannot attach a user property set within a rule set. When i create a new
    rule set in the tools it doesnt give me a field to attach a User property
    set to a rule set. I dont get this.
    I am using WLCS 3.2, cloudscape, WL 5.1 SP 6, Win2000.
    Any help wud be greatly appreciated.

    Hello Kapil,
    This is a good thing. Allow me to convince you. Prior to WLCS 2.0.1 sp1,
    each rule set required that a property set be associated with it. Rules in
    that rule set could only use properties from that property set. You could not
    write a rule that used properties from multiple property sets. Therefore, it
    was impossible to combine user/group, session, and request properties in
    rules. It is a good thing that you don't have to associate a property set
    with the rule set anymore.
    kapil wrote:
    Hi,
    I cannot attach a user property set within a rule set. When i create a new
    rule set in the tools it doesnt give me a field to attach a User property
    set to a rule set. I dont get this.
    I am using WLCS 3.2, cloudscape, WL 5.1 SP 6, Win2000.
    Any help wud be greatly appreciated.--
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • Code groups, codes & selected sets during UD

    Dear Friends,
    Can I create my own catalog types.
    I have created my own catalog types.
    1) For Usage Decision (R)
    2) For Defets recording (P)
    During defect recording the system is picking the code groups & codes created by me and which are assigned . It is not showing other ones.
    But during Usage decision it is picking all the code groups, codes & selected sets attached to standard UD catalog "3".
    I am unable to understand how the system is behaving like this.
    I have created my own notification type Y1. I have created my Catalog profile (YQM000001).
    I have assigned this profile to inspection type.
    I have assigned this notification type to inspection type.
    In the catalog profile YQM000001, I have assigned two catalogs (R & P).
    In catalogs & catalog profile for notification type, problems field assigned the catalog type "P".
    One more issue while recording the defects I am getting notification type as Y1 (created by me) but the catalog profile is showing standard one "QM0000001".
    I am unable to understand these all. Do anybody has got any solution.

    Dear Anuradha,
    There is no need to create separate catalog type  for your problem of displaying specific UD codes while giving user decision. You can assign the specific 'UD selected set' from catalog type 3 ( User decision) in SPRO ' Maintain inspection type'  for QM. Following is the path you can assign the  desired UD option you need to see while recording UD:
    SPRO >> Quality Management >> Quality Inspection >> Inspection lot creation >>  Maintain inspection types >>execute >> select the  inspection type say '01' and view details >> there will be field UD selected set, assign the specific selected set made for  your plant and  save.
    By doing this when you go for giving any UD, codes defined by you only will be displayed (not all).
    Didn't understand your issue related to notification, but in same above screen you can also assign notification type for particular insp. type.
    Looking at your  requirement there is no need to create separate insp type or notification type  just make proper use of  existing one and do proper assignment.
    Please let me know if you have any problem in resolving this.
    Best Regards,
    Shekhar

  • More than one property set for UUP

    Hi,
    We are using Weblogic Workshop 8.1 SP3 for our application development.
    I have developed a Unified User Profile with my custom EntityPropertyManager EJB, that handles a set of user properties for one type of users. Now, I have a requirement of a different property set for another type of users for the same application. These two property sets are different (defined in say, customerType1.usr and customerType2.usr files under /data/userprofiles folder of the application in workshop.
    Should I be using the same custom EntityPropertyManager to get both the property sets from the database? Or do I need to develop another custom EntityPropertyManager EJB? Please advise.
    Thanks,
    mxa1097

    Hi,
         You can have Maintenance Planning Plant & Maintenance Plant in any of the follwing ratios, i.e., 1:1 / 1:n / n:1. Actually in Maintenance, there can be electrical & mechanical maintenance.
              In the case of 1:1 relation, all the maintenance activities (Electrical & Mechanical) will be planned by single Maintenance Planning Plant for single Maintenance Plant.
            In case of 1:n, single maintenance planning plant will do the plaaning of maintenance activities for all the maintenance plants.
          In case of n:1, electrical activity will be planned by one Maintenance planning plant & mechanical activities by another planning plant for a single Maintenance plant.
          Defining Maintenance planning plant & maintenance plant in different relations will help us in generating different kind of reports.
    I am looking forward your reply.
    Regards,
    Maheswaran.

  • Updating a session property set

    Hi,
    How can I update a session property set?
    I can get my properties like this: <%= session.getProperty("test_set", "groups")
    %>
    But how do I update the same set. The documentation does not mention this...
    Is it possible to um? I did not get it to work.
    But maybe I did something wrong.
    <um:getProperty id="getResult" propertySet="test" propertyName="groups_test"/>
    The above returned null.
    But after updating it with:
    <um:setProperty propertySet="test" propertyName="groups_test" value="<%= list
    %>" result="setResult"/>
    It returned something.
    br,
    Chris

    A correction: It appears that it is being set but, as the pageflow action forwards to the success page the entitlement isn't taking effect until I refresh the page I forward to.
    Any ideas on why the entitlement requires a refresh on the forwarded page?

  • How to update Session property set.

    Hi,
    How can I update a session property set?
    I can get my properties like this:
    <%= session.getProperty("test_set", "groups") %>
    But how do I update the same set.
    The documentation does not mention this...
    br,
    Chris

    Chris wrote:
    Hi,
    How can I update a session property set?
    I can get my properties like this:
    <%= session.getProperty("test_set", "groups") %>
    But how do I update the same set.
    The documentation does not mention this...
    br,
    ChrisI am not sure what you want, but you can add properties to the session
    property set in the EBCC, by adding custom properties. You should then
    be able to retrieve them programmatically.
    Jalpesh

  • 6300 Caller Group & Profile problems

    Hi
    Just bought this phone for my girlfriend. She is trying to set a certain mp.3 ringtone to a specific caller group.
    She has only one caller group (my details) which has several numbers, a profile image and a caller group tone.
    However, when i call her mobile, her default ring tone plays, and the number displayed is just that, the number. No name, or profile image appear.
    I have looked high and low, via the instruction manual and the internet, and i can not find where the problem could be.
    She is using SIM & Phone for the memory. I have switched off the phone and back on, and still no joy.
    It seems as if the standard ring tone & settings is over-riding the caller group profile.
    Does anyone have any suggestions?
    Many Thanks
    Andy

    Here is what I do...
    1) Menu -> Contacts -> Groups
    2) Scroll to the group and press Options, DO NOT OPEN THE GROUP (i.e. View)
    3) Select 'Group details'
    4) Scroll down to 'Group tone' and press Options, DO NOT PLAY IT
    5) Select 'Change tone'
    6) Select 'Open Gallery'
    7) Navigate to, and select, your tone.
    Hope this helps.

  • Device Group Profile Drops after changes are saved

    Why do Device Group Profiles drops after applying a change? Some will get it no problem but some lose the profile thus losing network connectivity then requiring manual intervention.

    Thanks to all who replied, however..
    If the settings were stored int he CPL file ( which would be very odd but there it is ) I would expect that I could create a CPL file with the settings I want on one computer, and copy them to the same folder on another computer whose settings I want to standardize in the domain, however, this does not appear to be the case. I copied the entire ..\Program Files\Quicktime folder from one computer which had the settings I wanted, to another computer which didn't. The settings did not follow the copied Quictime folder and contents, so, with all respect and gratitude due to those who replied, I don't think settings are stored in the CPL file or any other file in the Quicktime folder.
    In any case, I don't really care where they are stored, I just need a way to propagate a single set of settings across multiple computers in a domain. I've never run across an application before that was so reistant to this type of thing...
    Thanks again
    TimeTraveller..

  • Get values from attributes of property sets

    Hi!
    Anyone know how to obtain values of attributes from property sets? Now I am using directly the EJBs but I would like to use tags (I found <ps:getPropertyNames> but it doesn´t give me the values) Any idea?
    Thanks,
    Guillermo

    Guillermo:
    I am not sure if this is exactly what you mean but you can get the values of properties with the user management tags <um:getProperty> and <um:getPropertyAsString>. You are correct, though, in that the
    <ps:getPropertyNames> tag only returns the names of the properties.
    Ted
    Guillermo wrote:
    Hi!
    Anyone know how to obtain values of attributes from property sets? Now I am using directly the EJBs but I would like to use tags (I found <ps:getPropertyNames> but it doesn´t give me the values) Any idea?
    Thanks,
    Guillermo

Maybe you are looking for