@Override
    @FFDCIgnore(Exception.class)
    public List<String> getUniqueGroupIdsForUser(final String inputUniqueUserId) throws EntryNotFoundException, RegistryException {

        try {
            // bridge the APIs
            String id = inputUniqueUserId;
            if (id.startsWith("user:") || id.startsWith("group:"))
                //New method added as an alternative of getUserFromUniqueId method of WSSecurityPropagationHelper
                id = getUserFromUniqueID(id);

            List<String> returnValue = membershipBridge.getUniqueGroupIds(id);
            return returnValue;
        } catch (Exception excp) {
            if (excp instanceof EntryNotFoundException)
                throw (EntryNotFoundException) excp;

            else if (excp instanceof RegistryException)
                throw (RegistryException) excp;
            else
                throw new RegistryException(excp.getMessage(), excp);
        }
    }
@ Override @ FFDCIgnore ( Exception . class ) public List < String > getUniqueGroupIdsForUser ( final String inputUniqueUserId ) throws EntryNotFoundException , RegistryException { try { String id = inputUniqueUserId ; if ( id . startsWith ( "user:" ) || id . startsWith ( "group:" ) ) id = getUserFromUniqueID ( id ) ; List < String > returnValue = membershipBridge . getUniqueGroupIds ( id ) ; return returnValue ; } catch ( Exception excp ) { if ( excp instanceof EntryNotFoundException ) throw ( EntryNotFoundException ) excp ; else if ( excp instanceof RegistryException ) throw ( RegistryException ) excp ; else throw new RegistryException ( excp . getMessage ( ) , excp ) ; } }
{@inheritDoc}