| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PumaProfile
The PumaProfile
provides functions to read attribute of
com.ibm.portal.um.User
and
com.ibm.portal.um.Group
objects.
An instance of this Interface can be retrieved by calling the
getPumaProfile() method exposed by the interfaces
com.ibm.portal.um.PumaHome
,
com.ibm.portal.um.portletservice.PumaHome
or
com.ibm.portal.um.portletservice.legacy.PumaHome
Field Summary | |
---|---|
static java.lang.String | EXTERNAL_USERS_PARENT_DN_ALIAS
Deprecated. As of release 6.1, replaced by com.ibm.portal.um.PumaEnvironment.EXTERNAL_USERS_PARENT_DN_ALIAS |
Method Summary | |
---|---|
java.util.List<java.lang.String> | getAllParentDNs()
Deprecated. As of release 6.1, replaced by PumaEnvironment#getAllParentDNs() |
java.util.Map<Principal,java.util.Map<java.lang.String,java.lang.Object>> | getAttributes(java.util.Collection<? extends Principal> principals,
java.util.Collection<java.lang.String> attributeNames)
Returns a map that maps principals to a map of values based on the given Attributenames. |
java.util.Map<java.lang.String,java.lang.Object> | getAttributes(Principal aPrincipal,
java.util.List<java.lang.String> aAttributeNames)
Returns a map of values based on the given Attributenames. |
User | getCurrentUser()
Returns an object of type User for the current User. This method returns null if no security context is available from the WebShpere Application Server runtime and the service instance has no access to the request object |
java.util.List<AttributeDefinition> | getDefinedGroupAttributeDefinitions()
Returns all attributes available for the type Group |
java.util.List<AttributeDefinition> | getDefinedUserAttributeDefinitions()
Returns all attributes available for the type User |
java.util.List<java.lang.String> | getDefinedUserAttributeNames()
Returns all attributes available for the type User |
java.lang.String | getExternalParentDN()
Deprecated. As of release 6.1, replaced by PumaEnvironment#getExternalParentDN() |
AttributeDefinition | getGroupAttributeDefinition(java.lang.String anAttribute)
Returns an instance of AttributeDefintion for the given
name
|
java.lang.String | getGroupDefaultSearchAttributeName()
Returns the attribute that is configured as default search attribute for groups |
java.lang.String | getIdentifier(Principal aPrincipal)
Returns the unique identifier for the given Principal. |
java.util.List<java.lang.String> | getMandatoryGroupAttributeNames()
Returns the mandatory attributes of the type Group |
java.util.List<java.lang.String> | getMandatoryUserAttributeNames()
Returns the mandatory attributes of the type User |
java.lang.String | getParentDN(java.lang.String alias)
Deprecated. As of release 6.1, replaced by PumaEnvironment#getParentDN(String) |
AttributeDefinition | getUserAttributeDefinition(java.lang.String anAttribute)
Returns an instance of AttributeDefintion for the given
name
|
java.lang.String | getUserDefaultSearchAttributeName()
Returns the attribute that is configured as default search attribute for users |
boolean | isExternal(Principal aPrincipal)
Deprecated. As of release 6.1, replaced by PumaEnvironment#isExternal(Principal) |
boolean | matchesParentDN(Principal aPrincipal,
java.lang.String alias)
Deprecated. As of release 6.1, replaced by PumaEnvironment#matchesParentDN(Principal, String) |
Principal | reload(Principal aPrincipal)
Loads the content of the given Principal from the repository |
Field Detail |
---|
static final java.lang.String EXTERNAL_USERS_PARENT_DN_ALIAS
Method Detail |
---|
java.util.Map<java.lang.String,java.lang.Object> getAttributes(Principal aPrincipal, java.util.List<java.lang.String> aAttributeNames) throws PumaAttributeException, PumaSystemException, PumaModelException, PumaMissingAccessRightsException
null
is
not allowed as input parameterMap
including attribute names and
their values. Multivalue attributes will return a
java.util.List
object as Value
java.util.Map<Principal,java.util.Map<java.lang.String,java.lang.Object>> getAttributes(java.util.Collection<? extends Principal> principals, java.util.Collection<java.lang.String> attributeNames) throws PumaAttributeException, PumaSystemException, PumaModelException, PumaMissingAccessRightsException
null
is
not allowed as input parameterMap
associationg the input
principals with their attribute maps including attribute names
and their values. Multivalue attributes will return a
java.util.List
object as Value
java.util.List<java.lang.String> getDefinedUserAttributeNames() throws PumaSystemException, PumaMissingAccessRightsException
List
of Strings containing all available
attribute names for com.ibm.poral.um.User
as
java.lang.String
AttributeDefinition getUserAttributeDefinition(java.lang.String anAttribute) throws PumaSystemException, PumaMissingAccessRightsException
AttributeDefintion
for the given
name
AttributeDefinition getGroupAttributeDefinition(java.lang.String anAttribute) throws PumaSystemException, PumaMissingAccessRightsException
AttributeDefintion
for the given
name
java.util.List<AttributeDefinition> getDefinedUserAttributeDefinitions() throws PumaSystemException, PumaMissingAccessRightsException
List
of AttributeDefinition
containing all available attribute for
com.ibm.poral.um.User
as
com.ibm.puma.um.AttributeDefinition
java.util.List<AttributeDefinition> getDefinedGroupAttributeDefinitions() throws PumaSystemException, PumaMissingAccessRightsException
List
of AttributeDefinition
containing all available attributes for
com.ibm.poral.um.Group
as
com.ibm.puma.um.AttributeDefinition
java.util.List<java.lang.String> getMandatoryUserAttributeNames() throws PumaSystemException, PumaMissingAccessRightsException
List
of Strings containing the names of
all mandatory attributes of com.ibm.portal.um.User
as java.util.String
java.util.List<java.lang.String> getMandatoryGroupAttributeNames() throws PumaSystemException, PumaMissingAccessRightsException
List
of Strings containing the names of
all mandatory attributes of com.ibm.portal.um.Group
as java.util.String
User getCurrentUser() throws PumaException
null
java.lang.String getIdentifier(Principal aPrincipal) throws PumaSystemException, PumaMissingAccessRightsException, PumaModelException
null
is not
allowed as input parameter
Principal reload(Principal aPrincipal) throws PumaSystemException, PumaMissingAccessRightsException, PumaModelException
null
is not
allowed as input parameter
null
will not be returned.
boolean isExternal(Principal aPrincipal)
null
is not
allowed as input parameter
boolean matchesParentDN(Principal aPrincipal, java.lang.String alias)
null
is not
allowed as input parameterjava.lang.String getParentDN(java.lang.String alias)
java.lang.String getExternalParentDN()
java.util.List<java.lang.String> getAllParentDNs() throws PumaSystemException
java.lang.String getGroupDefaultSearchAttributeName()
java.lang.String getUserDefaultSearchAttributeName()
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |